mpd: Fix typo in browse handling.
This commit is contained in:
parent
f824ded6ca
commit
69b4a8cad6
@ -295,7 +295,7 @@ class MpdContext(object):
|
||||
|
||||
for part in path_parts:
|
||||
for ref in self.core.library.browse(uri).get():
|
||||
if (ref.type in (ref.DIRECTORY, ref.type == ref.PLAYLIST) and
|
||||
if (ref.type in (ref.DIRECTORY, ref.PLAYLIST) and
|
||||
ref.name == part):
|
||||
uri = ref.uri
|
||||
break
|
||||
|
||||
Loading…
Reference in New Issue
Block a user