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

Commit

Permalink
Add PR #117 to changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
jodal committed May 19, 2016
1 parent 68d7bff commit 057ab88
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
7 changes: 7 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,13 @@ Credits
Changelog
=========

v1.1.0 (UNRELEASED)
-------------------

- Make search work for gmusicapi >= 10.0. (Fixes: #116, PR: #117)
- Enable search for accounts without All Access. (PR: #117)


v1.0.0 (2015-10-23)
-------------------

Expand Down
6 changes: 2 additions & 4 deletions mopidy_gmusic/library.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,8 +296,7 @@ def search(self, query=None, uris=None, exact=False):
lib_tracks, lib_artists, lib_albums = self._search_library(query, uris)

if query:
aa_tracks, aa_artists, aa_albums = self._search(
query, uris)
aa_tracks, aa_artists, aa_albums = self._search(query, uris)
for aa_artist in aa_artists:
lib_artists.add(aa_artist)

Expand Down Expand Up @@ -336,8 +335,7 @@ def _search(self, query=None, uris=None):
logger.info(
'Searching Google Play Music for: %s',
values[0])
res = self.backend.session.search(
values[0], max_results=50)
res = self.backend.session.search(values[0], max_results=50)
if res is None:
return [], [], []

Expand Down

0 comments on commit 057ab88

Please sign in to comment.