Skip to content
This repository has been archived by the owner on Dec 7, 2020. It is now read-only.

Fix broken all access search #117

Merged
merged 4 commits into from
May 19, 2016
Merged

Fix broken all access search #117

merged 4 commits into from
May 19, 2016

Conversation

amayer171
Copy link

@amayer171 amayer171 commented May 16, 2016

Issue #116
The gmusicapi dependency has been updated. The search_all_access() method was renamed to search(). http://unofficial-google-music-api.readthedocs.io/en/latest/reference/mobileclient.html#search.

I was able to reproduce the issue using ncmpcpp with search type of "match if tag contains searched phrase (no regexes)"

Here is the commit which caused the change. simon-weber/gmusicapi@4419d0e

@@ -114,7 +114,7 @@ def get_artist_info(

@endpoint(default=None, require_all_access=True)
def search_all_access(self, query, max_results=50):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This method should be renamed to search and the require_all_access kwarg set to False, ref the commit message on the gmusicapi commit that changed this, because all access was no longer required.

@amayer171
Copy link
Author

Ok, I made the requested change and it is working for me locally.

@jodal jodal merged commit 68d7bff into mopidy:develop May 19, 2016
@jodal
Copy link
Member

jodal commented May 19, 2016

Thanks!

jodal added a commit that referenced this pull request May 19, 2016
@j10sanders
Copy link

this needs to be included in the PyPI package!

@jodal
Copy link
Member

jodal commented Oct 25, 2016

It's included in the 2.0.0rc1 release on PyPI, which you can install by passing the --pre flag to pip:

pip install -U --pre mopidy-gmusic

@j10sanders
Copy link

Thank you very much - I should have thought of that.

@jodal
Copy link
Member

jodal commented Oct 25, 2016

No, you shouldn't. It's not very obvious at all :-)

I've asked in #152 if we're ready for v2.0.0 final release.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants