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

tracklist.{filter,remove} with multiple criteria values #574

Merged
merged 8 commits into from
Nov 11, 2013

Conversation

jodal
Copy link
Member

@jodal jodal commented Nov 11, 2013

Builds upon #564, but removes support for the old API of single criteria values.

The criterias are now a mapping between field names and one or more values. This aligns tracklist.{filter,remove}() with the API of library.{find_exact,search}(), and allows for e.g. batch removals.

An exception is raised immediately if the API is used in the old way to ease migration and debugging.

Javier Domingo Cansino and others added 8 commits November 5, 2013 13:08
docs: Documenting tracklist's new filter() feature
The criterias are now a mapping between field names and one or more values.
This aligns tracklist.{filter,remove} with the API of
library.{find_exact,search}, and allows for e.g. batch removals.

An exception is raised immediately if the API is used in the old way to ease
migration and debugging.
@ghost ghost assigned adamcik Nov 11, 2013
adamcik added a commit that referenced this pull request Nov 11, 2013
tracklist.{filter,remove} with multiple criteria values
@adamcik adamcik merged commit c1f182c into mopidy:develop Nov 11, 2013
@jodal jodal deleted the feature/filter_improvement branch November 11, 2013 23:18
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.

None yet

2 participants