Make Spotify library payload use "BrowseMedia" (#39744)

This commit is contained in:
Philip Allgaier
2020-09-07 17:52:35 +02:00
committed by GitHub
parent 5e83feeabf
commit 84992da24a

View File

@@ -598,7 +598,7 @@ def library_payload():
{"name": item["name"], "type": item["type"], "uri": item["type"]}
)
)
return library_info
return BrowseMedia(**library_info)
def fetch_image_url(item, key="images"):