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

Fix #1026: Sort local playlists by name. #1028

Merged
merged 2 commits into from Mar 8, 2015

Conversation

3 participants
@tkem
Member

tkem commented Mar 7, 2015

Fixes #1026 by sorting the local playlists according to their name property after every create, save and refresh operation. Slightly inefficient, but this should be converted to use a {uri: playlist} mapping after get_playlists() gets implemented, anyway.

@jodal

This comment has been minimized.

Member

jodal commented Mar 8, 2015

Looks good to me. Please add a changelog entry.

Leaving it to @adamcik to comment and/or merge.

@jodal jodal added this to the v0.20 - Audio cleanup 1 milestone Mar 8, 2015

adamcik added a commit that referenced this pull request Mar 8, 2015

Merge pull request #1028 from tkem/fix/1026
Fix #1026: Sort local playlists by name.

@adamcik adamcik merged commit 29b00ca into mopidy:develop Mar 8, 2015

2 checks passed

Scrutinizer 2 updated code elements
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

@tkem tkem deleted the tkem:fix/1026 branch Mar 9, 2015

@jodal jodal added 3 - Done and removed 3 - Done labels Mar 9, 2015

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