From 45ce75586ea4814dd0e5ebae85708c93d3ff2c68 Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Tue, 24 Mar 2015 01:28:14 +0100 Subject: [PATCH] mpd: Use get_playlists() in listplaylists --- mopidy/mpd/protocol/stored_playlists.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mopidy/mpd/protocol/stored_playlists.py b/mopidy/mpd/protocol/stored_playlists.py index c24b2f6e..9d9f66e0 100644 --- a/mopidy/mpd/protocol/stored_playlists.py +++ b/mopidy/mpd/protocol/stored_playlists.py @@ -75,7 +75,7 @@ def listplaylists(context): ignore playlists without names, which isn't very useful anyway. """ result = [] - for playlist in context.core.playlists.playlists.get(): + for playlist in context.core.playlists.get_playlists().get(): if not playlist.name: continue name = context.lookup_playlist_name_from_uri(playlist.uri)