Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve sorting in library view #39

Open
vvnull opened this issue May 12, 2021 · 1 comment
Open

Improve sorting in library view #39

vvnull opened this issue May 12, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@vvnull
Copy link

vvnull commented May 12, 2021

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.

@yktoo yktoo added the enhancement New feature or request label May 13, 2021
@yktoo
Copy link
Owner

yktoo commented May 13, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants