GNOME Bugzilla – Bug 544758
Option to sort album list by date
Last modified: 2020-03-17 08:26:50 UTC
It should be possible to sort the album list viewer by the DATE field in metadata. Other information:
Just to clarify, the goal here is to sort first by Artists, and then put all of an artist's albums in order by release date? If that's what this is going for, then I would also like that. Either way, the severity should probably be changed to enhancement.
Created attachment 129127 [details] [review] Using CoreTracks.Year when sorting tracks I'm using CoreTrack.Year and not CoreAlbums.Year or CoreAlbums.ReleaseDate because only CoreTrack.Year is set in my library. I tagged my mp3s using MusicBrainz Pickard, yet CoreAlbums.Year and CoreAlbums.ReleaseDate are not initialised when importing the mp3s into the library. I think sorting by release year should be sufficient as not many artists release more than a couple of albums per year. IIRC, iTunes has the same behaviour - it sorts first by release year, and then by release title.
Ah, this is really interesting. I worry that some people won't get it and will complain that their albums aren't in alphabetical order. I have no idea if we should or how we could present it as an option. The patch itself looks sound, though I think the bug reporter was actually more talking about the album browser rather than the track list.
Sorting in the album list can be done easily enough I'd think: user right-clicks anywhere in the album list, and a pop-up comes up with these options: ( ) Sort alphabetically ( ) Sort by date No? There are no other options on the album list to complicate it. How to sort by two criteria on the track list I have no idea.
(In reply to comment #3) > The patch itself looks sound, though I think the bug reporter was actually more > talking about the album browser rather than the track list. In this case, bug 561493 is related to this one. We could add an option to show the release year next to the album name and also sort by the year if the option is on. An example wording: [x] Show and sort by the release year.
Alexander, would you open a new (or search if there's an existing one) bug for your issue - something like "Add ability to specify sub-sorting of track list" and attach your patch there? Regarding adding the year to the album browser, I don't have a strong preference for whether it would be a combined show-and-sort option or separate options. I think however we do it should be generic - that is, other browsers can easily define their own display and sort options in a similar way.
(In reply to comment #6) > Alexander, would you open a new (or search if there's an existing one) bug for > your issue - something like "Add ability to specify sub-sorting of track list" > and attach your patch there? Added, see bug 577680.
*** Bug 611409 has been marked as a duplicate of this bug. ***
What's the status of this bug? It's very frustrating seeing an option I have wanted my media player to have for a long time, only to find it doesn't actually work at all.
What about an option to have the albums in the browser in the same order as the track list? For example, when the tracks are sorted by artist and then album (which is the default I think), the albums would be sorted the same way. This would naturally only work if the track list is sorted so that albums are grouped together (e.g. not when sorted by time).
*** Bug 618365 has been marked as a duplicate of this bug. ***
There is no need for a new option, Banshee already have the check-box "Sort an artist's albums by year, not title" on "Preferences > Source specific > Music", but at the moment it is been ignored by the album browser So the album browser needs to be fixed to respect that option when set. PS: someone should probably change the description of the bug.
*** Bug 631347 has been marked as a duplicate of this bug. ***
I don't agree with comment 12. Being able to sort the album by year is not enough. I very much agree with comment 2. What would be very nice indeed is, when All Artists are selected, to sort the album in the album browser first by Artist name and then by year. Sorting by Album name (or year) is relevant only when selecting one artist. When all artists are selected, it doesn't really make sense anymore. This is the way most people would sort their CD collection and this is doable with Quodlibet, Jajuk (or Winamp under Windows). Sadly, Banshee that I must prefer doesn't offer this option.
(In reply to comment #14) > I don't agree with comment 12. Being able to sort the album by year is not > enough. I very much agree with comment 2. I'm not sure I see the difference between the two. Aren't both suggesting that Banshee should be able to group the albums in the Album List by artist and then sort them based on the date that they were released? I think Comment 12 is just saying that the Album List in the browser should follow the same ordering as the music library, so if the "Sort an artist's albums by year, not title" option is turned on in Banshee's preferences, then the sorting requested by this bug report should be used (thus, there is no need to add a separate preference option for this behavior). Anyway, it looks like Gabriel is working on Bug 561109, which seems like an important first step in fixing this bug as well.
*** Bug 638186 has been marked as a duplicate of this bug. ***
*** Bug 650931 has been marked as a duplicate of this bug. ***
What's the status of this? Still an issue for me, v2.4.1
Banshee is not under active development anymore and had its last code changes more than three years ago. Its codebase has been archived. Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect reality. Please feel free to reopen this ticket (or rather transfer the project to GNOME Gitlab, as GNOME Bugzilla is being shut down) if anyone takes the responsibility for active development again. See https://gitlab.gnome.org/Infrastructure/Infrastructure/issues/264 for more info.