mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Fix error in squeezebox media browser album art (#126346)
Fix error in squeezebox media browser album art part 2
This commit is contained in:
parent
78459991bf
commit
3f13f6ed12
@ -131,12 +131,12 @@ async def build_item_response(
|
||||
can_expand = False
|
||||
can_play = True
|
||||
|
||||
if artwork_track_id := item.get("artwork_track_id") and item_type:
|
||||
if artwork_track_id := item.get("artwork_track_id"):
|
||||
if internal_request:
|
||||
item_thumbnail = player.generate_image_url_from_track_id(
|
||||
artwork_track_id
|
||||
)
|
||||
else:
|
||||
elif item_type is not None:
|
||||
item_thumbnail = entity.get_browse_image_url(
|
||||
item_type, item_id, artwork_track_id
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user