diff --git a/mopidy_gmusic/library.py b/mopidy_gmusic/library.py index fbcdd53..18f3e9d 100644 --- a/mopidy_gmusic/library.py +++ b/mopidy_gmusic/library.py @@ -222,8 +222,8 @@ def _lookup_album(self, uri): for track in album['tracks']] for track in tracks: self.aa_tracks[track.uri] = track - self.aa_albums[uri] = tracks - return sorted(tracks, key=lambda t: (t.disc_no, t.track_no)) + self.aa_albums[uri] = sorted(tracks, key=lambda t: (t.disc_no, t.track_no)) + return self.aa_albums[uri] logger.warning('Failed to lookup all access album %r: %r', uri, album)