From f2bd309478c418397c423c21c4621d6471d796de Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Thu, 28 Feb 2019 18:30:52 +0100 Subject: [PATCH] Regex fix --- platypush/plugins/music/mpd/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platypush/plugins/music/mpd/__init__.py b/platypush/plugins/music/mpd/__init__.py index 919bd5287..a1568620b 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:(.+?)', resource) + m = re.match('spotify:user:[^:]+:playlist:(.*)', resource) if m: # Old Spotify URI format, convert it to new resource = 'spotify:playlist:' + m.group(1)