Sort albums released in same year (yyyy-mm-dd)
Environment
- Lollypop version: 1.2.20
- GTK+ version: 3.24.12
- Operating system: Kubuntu 19.10
Bug
In the Albums view, sorting by Artist orders each album by album artist, then each artist's series of albums by release date. This is my preferred sort order, and one of my favorite features of Lollypop :). When an artist releases two albums in one year, I enter the release date in yyyy-mm-dd
format, so they can be sorted lexically and still end up in the right order. This also coexists with simple yyyy
-tagged albums, as long as the years are different, and works in several players I've used.
However, lollypop seems to discard the month/day info when sorting. If two albums are from the same year, they are sorted by album title, regardless of the month/day portion. This means that Black Sabbath is sorted correctly ("Black Sabbath" (1970-02-13) before "Paranoid" (1970-09-18)), but Yes isn't ("Fragile" (1971-11-01) before "The Yes Album" (1941-02-19)).
Trimming spaces etc from the date field makes sense, but otherwise the tag data should be unchanged for sorting purposes. Also, I noticed that the album detail/tracklist view has the year only in the top-right. I think this is good as-is, it looks better without the extra information.