Proper fix
This commit is contained in:
parent
d5f1626c0f
commit
301ce666ca
|
@ -186,8 +186,8 @@ class PysonicApi(object):
|
|||
type="music")
|
||||
if "." in item["name"]:
|
||||
child.attrs["suffix"] = item["name"].split(".")[-1]
|
||||
if "type" in item_meta:
|
||||
child.attrs["contentType"] = item_meta["type"]
|
||||
if item["type"]:
|
||||
child.attrs["contentType"] = item["type"]
|
||||
if 'cover' in item_meta:
|
||||
child.attrs["coverArt"] = item_meta["cover"]
|
||||
elif 'cover' in dir_meta:
|
||||
|
|
Loading…
Reference in New Issue