GNOME Bugzilla – Bug 750827
Album views - if an album has multiple disks, group tracks by disk
Last modified: 2016-10-25 14:17:17 UTC
Created attachment 305116 [details] A comparison of the expected and the actual track orders in a 3 disks real life example Tracks from several disks of the same album are mixed together (the firsts ones first, then the second ones, etc.). It even seems that the disks are in reverse order. So if a have an album of 3 disks with 2 tracks each, GNOME Music would currently order it: - disk 3, track 1 - disk 2, track 1 - disk 1, track 1 - disk 3, track 2 - disk 2, track 2 - disk 1, track 2 The expected order would be: - disk 1, track 1 - disk 1, track 2 - disk 2, track 1 - disk 2, track 2 - disk 3, track 1 - disk 3, track 2 Having way to tell a disk from the other would also be nice (with some spacing maybe), but that's another bug.
Created attachment 318258 [details] simple mockup Grouping the tracks by disk would be a good start. It would also be great if disk headings could be added at the same time (a bit like in the attached image).
Created attachment 320894 [details] [review] AlbumWidget per disc separation if available Initial go at this. Needs patches in grilo and grilo plugins to work properly: #761868 , #761869 & #761168 . This is just for the AlbumWidget view.
Created attachment 320895 [details] [review] AlbumWidget per disc separation if available Noticed I made an indent mistake while cleaning up the first patch.
Created attachment 320896 [details] per disc view looks how it looks at the moment
(In reply to Marinus Schraal from comment #4) > Created attachment 320896 [details] > per disc view looks > > how it looks at the moment Looks good, although it could do with some more space between discs (above "disc 2" in your screenshot). Thanks for the patch and screenshot!
Created attachment 321010 [details] [review] AlbumWidget per disc separation if available Cleanup the patch some more, remove some (old?) unused stuff in the class as well. In reply to comment #5 : I can adapt the height some more, but I don't see a way to just add padding on top.
(In reply to Adrien Plazas from comment #0) > Having way to tell a disk from the other would also be nice (with some > spacing maybe), but that's another bug. The sorting seems correct here with 3.18, so I think the separation in presentation is the only remaining issue.
I think this needs to be reimplemented on top of a redesigned album widget, not using gtktreeview. The current one is too cumbersome. Probably together with a replacement for the artist album widget.
*** Bug 709288 has been marked as a duplicate of this bug. ***
This should be fixed in git head, please test and report issues. This problem has been fixed in the unstable development version. The fix will be available in the next major software release. You may need to upgrade your Linux distribution to obtain that newer version.