Closed discopatrick closed 6 years ago
Thanks! Yes, this seems to be a problem with modify
. The root problem is that changed
is built up as a set:
https://github.com/beetbox/beets/blob/1828114528e0459d5c60ed93a42bf4f165d054e4/beets/ui/commands.py#L1379
And then is directly used in the prompt: https://github.com/beetbox/beets/blob/1828114528e0459d5c60ed93a42bf4f165d054e4/beets/ui/commands.py#L1400-L1403
To preserve the order, the easiest fix might be just to make changed
into a list instead (and append the objects in the order they're iterated over in the first loop).
Problem
Running this command in verbose (
-vv
) mode:Led to this problem:
As you can see, the tracks are initially sorted according to my
sort_item
setting ofalbumartist+ album+ disc+ track+
. (The first 4 tracks from this album are not listed because I already modified them earlier!) However, when I move into "select" mode, the first track it asks me to confirm is not the first track from the original list.Setup
My configuration (output of
beet config
) is: