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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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"):