betanin icon indicating copy to clipboard operation
betanin copied to clipboard

Add better hadling for selection in interactive menu (Skip,Abort, etc.) so they won't be marked as "completed"

Open knuurr opened this issue 1 year ago • 1 comments

Currently, imports where manual action was needed, and during which Beets was told to either Skip that particual album, or Abort import, are detected by UI as success:

obraz

obraz

Now I get it that it's probably based on exit code, and probably Beets doesn't dare to report Aborted import as non-zero.

IDEA: would it be possible to check at betanin level, that:

  • check if Beets printed prompt about action to be taken,
  • and if so, track the response to that
  • based on user input, communicate action taken in GUI - for clarity

In GUI this could be reported for example in brackets, what action was taken regarding that particular import. With that one could easily come back to that later, in case they wanted to take action again against that albu that was problematic, because currently such import will be displayed as "Completed".

Here's small demo on how could it look (excuse me but I didn't bother to change colors nor icon. Let's assume Abort could be in red, Skip in yellow/red, Use-as maybe tifferent hue of green etc.)

obraz

My assumption here is that it's possible to capture whenever this interactive menu is displayed, and that user always provides predictable input within possible options. Maybe more thought should be provided into what appens if user misstypes etc.

knuurr avatar Jan 11 '24 14:01 knuurr

i agree it would be nice to have extra info, but if input is required you should get a notification like that. recently the beets UI was updated and betanin didnt updated. see https://github.com/sentriz/betanin/issues/114 for more info

image

sentriz avatar Jan 11 '24 15:01 sentriz