ymuse icon indicating copy to clipboard operation
ymuse copied to clipboard

Improve sorting in library view

Open vvnull opened this issue 3 years ago • 1 comments

From the library, if one drills through the Genres/Artists/Albums menus (so not Files or Playlists), the tracks within an album are sorted by track title, rather than the expected track number.

Furthermore (though less important), sorting albums within an artist by the year tag would be nice.

vvnull avatar May 12 '21 23:05 vvnull

This is problematic because of the limits imposed by the MPD API.

MPD's list command returns a list of simple strings (like album or track names), and not proper objects carrying metadata. Which means sorting would require an additional query (or queries).

It's even more problematic when it comes to albums since the year tag is stored in each track's file, thus can potentially have different values for the same album.

yktoo avatar May 13 '21 07:05 yktoo