Bugzilla – Bug 1621
Songs added in reverse order when using All Albums
Last modified: 2008-08-18 10:54:16 UTC
I'm running slimserver 6.1 nightly from 05/24 I went to softsqueeze and did a search for artist. I searched for "arioli" which returned 3 artists: Susie Arioli Band Susie Arioli Swing Band and Susie Arioli Swing Band featuring Jordan Officer Each of these have 1 album each. From there, I went to All Albums (4th choice after the 3 artists) and pressed "Play". This added all songs for all 3 artists but in reverse order! (15, 14, 13, 12, ..., 1, 13, 12, 11, ..., 1, 14, 13, 12, ..., 1)
This has been fixed in the 6.1 tree as of subversion change 3391.
Problem still exists in version 6.1 nightly of (06/18).
The change stated to fix this seem to be web UI, but I guess it is not fixed in the player UI. Command.pm has a line to choose a sort type when loading tracks at line 1855: # default to a sort $sort ||= exists $find{'album'} ? 'tracknum' : 'track'; If I had more time to test, I could maybe figure out what was going wrong here, or at least prove that this is the line causing the problem or not.
Created attachment 557 [details] use supplied type instead of hardcoded 'contributor'\ This should fix it. The search option sends 'track' as the param for search, yet the fieldinfo in pages is hardcoded to 'contributor' so the sorting was being done by artist instead of 'track'. This patch uses the supplied type, just like change 3391 did for album search.
committed to trunk at change 3497. reopen with more details if this problem occurs in some other way.
This bug was marked resolved in Slimserver 6.1, which is several versions ago. If you're still seeing this bug, please re-open it. Thanks!