Display order of songs in Collection?
-
Hello!
Is there a way to set / get the sort order of songs inside an album to be according to either file name or maybe by track number? Right it seems to be by reverse file creation.Use case: I found that 3 tracks (2, 5 and 7) out of an album had some quality issues, and re-ripped them from CD. Now they are listed before the existing ones, despite a full rescan - and when I add the album to the playlist, the track order in the playlist is 2, 5, 7, 1, 3, 4, 6, 8, 9.
Thanks!
Strawberry 1.1.2 on openSUSE -
@msrex
That's not normal, the songs should be listed in the order of the track number.
Are you sure all the songs have correctly tagged track numbers?
What is "Group by" set to on the collection? -
@jonas It is set by Advanced Grouping, with Level 1 set to Album Artist, Level 2 set to Album and Level 3 set to None (for the lack of "Track Number".
All songs are set to correct numbers, verified by EyeD3 and Foobar2000 (to check via two different OSes).
-
Is disc number set correctly, or blank for all tracks? The songs that have a higher disc number will be listed after the ones with lower disc numbers.
Strawberry uses the disc number * 1000 + track number prefixed with up to 6 zeros + URL as the sort text.
There is only one special case, but that's when the song is set on level 2 and level 1 does not include the album, in that case it just uses the song title as the sort text.Also, what is LC_COLLATE set to?
locale | grep LC_COLLATE
-
@jonas I experimented a bit.
A restart of Strawberry resolves the issue - afterwards the order is as it should. I can live with that. I am happy to help debug though.
The reported behaviour is only visible when the files on disk are changed - e.g. the file
03.Frank Sinatra-New York New York.mp3
is replaced on disk with a new version, and either an update of the changed collection files or a full collection rescan was performed.LC_COLLATE
is set toPOSIX
.
All the meta data is set identically (disc number, year, album artist, genre etc.). Only the fieldsTrack
andTitle
are different.As an aside: I also updated to 1.1.3. Should I redo my testing (was still made on 1.1.2)?
-
@msrex
It's not updating when the sort text gets changed, I'll fix that. Thanks for reporting this. -
@msrex I checked this now. I see that there is a bug, not updating the song when disc is changed, but I see it's correctly updating when title and track is changed.
But I don't know if that bug could explain what you saw happening, it could happen if the song was ripped while strawberry was running, and disc was updated after the song was initially read from disc.
If you manually tagged the disc later, or the ripping program tagged it later.
If you see way to still reproduce the bug without updating the disc, I'd like to know so I can fix it.