diff --git a/platypush/plugins/music/mpd/__init__.py b/platypush/plugins/music/mpd/__init__.py index 7f2de8e3..919bd528 100644 --- a/platypush/plugins/music/mpd/__init__.py +++ b/platypush/plugins/music/mpd/__init__.py @@ -273,7 +273,7 @@ class MusicMpdPlugin(MusicPlugin): if resource.startswith('spotify:'): resource = resource.split('?')[0] - m = re.match('spotify:user:[^:]+:playlist:(.+?)') + m = re.match('spotify:user:[^:]+:playlist:(.+?)', resource) if m: # Old Spotify URI format, convert it to new resource = 'spotify:playlist:' + m.group(1)