Skip to content

Conversation

@8jmm3
Copy link

@8jmm3 8jmm3 commented Oct 4, 2024

I am using mpd as my back-end media player. It currently supplies a list of playlists as sources in a seemingly arbitrary order (map order). This makes choosing a source from the UI drop down quite cumbersome since they are in no obvious order (e.g. Rock, Pop, Alternative, Jazz, Classical). This is even more apparent since I have over 20 playlists.

This change implements lexicographic sorting of the source list so that the choices appear in a more logical order. (e.g. Alternative, Classical, Jazz, Pop, Rock).

@Drafteed
Copy link
Collaborator

Not sure about this change, since the default dropdown in the default HA card does not use additional sorting.

@sprocket-9
Copy link

This would be better implemented as a configuration option rather than changing the existing default sort order.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants