MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
Nightingale Forums - Can I choose how to sort my library?

Nightingale Forums

Full Version: Can I choose how to sort my library?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Heyall!

Reposting the following request here:
https://getsatisfaction.com/songbird/top...my_library

The question that was posted 6 years ago was:
I know that clicking on a column in the library display (title, genre, album, etc) sorts by that column. What I'm wondering is whether I can choose a secondary sort or "tiebreaker" characteristic. For example, I'd like to be able to sort by genre first and then sort by title within the same genre. It seems that the secondary sort characteristic is always album by default, and I can't find how to change it.

Can something be done about this?
My wish is to sort by disk# and then by track# but this is still impossible.
Would be a big improvement if this functionality was added!
(07-18-2014, 08:24 PM)MarjonW Wrote: [ -> ]It seems that the secondary sort characteristic is always album by default, and I can't find how to change it.

If I recall this correctly, this is hardcoded somewhere in the database and thus not easy to change; a relict of our Songbird past. Maybe it will get cleaned up at some point, until then I think somebody here in the forums had a patch to change it to something different, albeit static and requiring a new profile. However, I wasn't able to find it right now... :/
Thanks!

Ezekiel000 I tried your instructions for adjusting the secondary sort, but could not find file nightingale/components/property/src/sbPropertyManager.cpp (version 1.12.1)

I found this in the current code: var propertyManager = Cc["@songbirdnest.com/Songbird/Properties/PropertyManager;1"].getService(Ci.sbIPropertyManager);

Does this mean that the hack is now impossible or that I did not look in the right place?
It is still possible in 1.12.1, here is the link to the file on github (around line 537):
http://github.com/nightingale-media-play...anager.cpp
(07-20-2014, 05:20 PM)Ezekiel000 Wrote: [ -> ]It is still possible in 1.12.1, here is the link to the file on github (around line 537):
http://github.com/nightingale-media-play...anager.cpp

Thanks... but I see nothing like diskSecondSort that I could attempt to adjust. This may all be a little too much for me... downloading source files... which ones... how... I think I'll live with and wait for a front-end solution.

But am I wrong in thinking that, when you sort on disk#, a SecondSort on track# is ALWAYS a good idea?

https://dl.dropboxusercontent.com/u/5341072/Capture.JPG

FYI I created a pull request in Github
To modify genre sorting look at the category's from line 620, sorting by disc# is after line 734.
I'm not a developer so all I can say is experiment and see what works.
(07-20-2014, 07:17 PM)Ezekiel000 Wrote: [ -> ]To modify genre sorting look at the category's from line 620, sorting by disc# is after line 734.
I'm not a developer so all I can say is experiment and see what works.

Thanks! Yep, found it, disc, not disk. In the meantime I have created a pull request in Github: https://github.com/nightingale-media-pla...g/pull/309 Smile