mirror of
https://github.com/home-assistant/core.git
synced 2025-07-12 15:57:06 +00:00
Make Spotify library payload use "BrowseMedia" (#39744)
This commit is contained in:
parent
5e83feeabf
commit
84992da24a
@ -598,7 +598,7 @@ def library_payload():
|
|||||||
{"name": item["name"], "type": item["type"], "uri": item["type"]}
|
{"name": item["name"], "type": item["type"], "uri": item["type"]}
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
return library_info
|
return BrowseMedia(**library_info)
|
||||||
|
|
||||||
|
|
||||||
def fetch_image_url(item, key="images"):
|
def fetch_image_url(item, key="images"):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user