typo
This commit is contained in:
parent
1b9094a36b
commit
12fd582d70
1 changed files with 1 additions and 1 deletions
|
@ -273,7 +273,7 @@ class MusicMpdPlugin(MusicPlugin):
|
||||||
if resource.startswith('spotify:'):
|
if resource.startswith('spotify:'):
|
||||||
resource = resource.split('?')[0]
|
resource = resource.split('?')[0]
|
||||||
|
|
||||||
m = re.match('spotify:user:[^:]+:playlist:(.+?)')
|
m = re.match('spotify:user:[^:]+:playlist:(.+?)', resource)
|
||||||
if m:
|
if m:
|
||||||
# Old Spotify URI format, convert it to new
|
# Old Spotify URI format, convert it to new
|
||||||
resource = 'spotify:playlist:' + m.group(1)
|
resource = 'spotify:playlist:' + m.group(1)
|
||||||
|
|
Loading…
Reference in a new issue