Sort tracks by discnumber

Bug #234999 reported by mamaar
2
Affects Status Importance Assigned to Milestone
Decibel Audio Player
Fix Released
Undecided
Anonym25712

Bug Description

Some albums consists of more than one disc. It would be great if the tracklist could sort by discnumber also.
Now I get the first track of each disc first, then the second track of each disc etc.

Revision history for this message
Simon Morgan (sjmorgan) wrote :

I wouldn't expect this anytime soon. I've spent a large portion of today looking through the source code and the tag fields that Decibel pays attention to are very much "hard-wired" which makes it (at least for me) very difficult to "retrofit" support for the disc number. As soon as you change one part of the code, another that depends on things being a certain length and/or in a certain order (this program makes heavy use of lists where IMHO it should use dictionaries) breaks.

Revision history for this message
Anonym25712 (anonym25712) wrote :

Let's suppose the disc number could be read from the tags. Instead of adding a new column for that number, DAP could add it right after the album name, in square brackets, e.g., "Album [Disc 1]", "Album [Disc 2]". Then, instead of sorting by disc number, you would sort by album name and you get the same result. The difference is that (i) sorting by disc number across different albums doesn't make sense and (ii) we save space by avoiding one more column. What do you think ?

Revision history for this message
mamaar (mamaar) wrote :

Sounds good to me.

Revision history for this message
Anonym25712 (anonym25712) wrote :

Fixed in trunk.

Disc number is now read from the files, and displayed right after the album name in the tracklist.

Changed in decibel-audio-player:
assignee: nobody → athropos
status: New → Fix Committed
Revision history for this message
Anonym25712 (anonym25712) wrote :

See v0.11

Changed in decibel-audio-player:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.