epoupon / lms

Lightweight Music Server. Access your self-hosted music using a web interface.
http://lms-demo.poupon.dev
GNU General Public License v3.0
1.13k stars 62 forks source link

Cosmetic: ordering of albums on artist page #498

Closed splintering closed 1 month ago

splintering commented 3 months ago

On the artist page, albums within one album category are ordered by date decending, but if the date is the same for two or more albums, those are ordered alphabetically ascending within that group of albums.

So currently it is like this:

X (2020) - X (2019) - X (2018) - A (2017) - B (2017) - C (2017) - X (2016) ...

Maybe it is only me - I tend to view my albums in date ascending order. So in LMS I "read" albums from right to left, and when I encounter a group of albums with the same date, I have the album with the last letter first. Thas is confusing :-)

Not sure which is the "best" approach to suit everybody, but what probably optimal would be if the display order (at least the first level order) could be changed by the user (at least date and title, ascending and descending). This could be a global setting.

If that is too complicated to implement, I would vote for a unified sorting (either ascending or descending, I do not care), but not a mix of ascending and descending orders.

epoupon commented 3 months ago

Note that if your albums are tagged with precise dates (year/month/day), they should be taken into account for sorting (not just year). That being said, I agree for a global setting :)

splintering commented 3 months ago

Yes, but for once the exact date is not always known, and to complicate things I always sort albums under the original release date, even if it is a later issue: sometimes I have an older release and a newer remix/remaster/deluxe edition, and both will have the same date, but the newer version gets something added to the title. This leads to the newer version being right of the original version, because the added character(s) in the title make it lower in the alphabetical order.

As I said it is just me and my special ordering needs, but I think users will appreciate in general if they can set the sorting to their liking.

epoupon commented 3 months ago

Do you mean you also want to select the field you want to use for sorting? (Release date, original release date, and even just name maybe?)

splintering commented 3 months ago

That would be nice :-) I think the fields you proposed are sufficient for now - other can come forward with more ideas later ;-)