This commit is contained in:
Fabio Manganiello 2019-02-28 18:22:50 +01:00
parent 1b9094a36b
commit 12fd582d70

View file

@ -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)