RudeySH / lastfm-bulk-edit

Bulk edit your scrobbles for any artist, album or track on Last.fm at once.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Request: Automatically use “Artist” as “Album Artist” when album artist is blank

salazarbarrera opened this issue · comments

Related to this proposal in Last.fm community support, but focused on this bulk editor.

Basically what the title says. If the Album Artist is blank, do some of these or equivalent:

  • Visually autocomplete the "Album Artist" with the "Artist" and let the user erase it if they want
  • After pressing "save edit", warn the user that the Album Artist is blank, that it will fail, and ask if they want to fill it with Artist?
  • Just autocomplete it without asking (this the Web Scrobbler way)

I can help with the programming, but the three alternatives proposed are very opinionated, and I think you as the maintainer should say which one you would prefer (if any) before putting my hands on the keyboard and start coding.

I haven't quite implemented what you asked for, but I hope this is good enough: I made two changes:

  1. The album and album artist fields will now become red when the field is empty while the other field is not empty.
  2. The "Save Edit" button becomes disabled when any of the fields have a validation error (= red).

image

Update the script to v1.4.1 to try this out.

I made another change in v1.4.2 just now:

  • If both Album and Album Artist fields are empty, when you start typing in the Album field, the Album Artist field will be automatically filled.

I think it now works as you described in your first bullet point.

If you have installed v1.4.1, please update to v1.4.2 as there were some minor issues that got fixed.