mirror of
https://github.com/home-assistant/core.git
synced 2025-07-14 16:57:10 +00:00
Squeezebox: Fix track selection in media browser (#147185)
This commit is contained in:
parent
676567f471
commit
2ea09ff37a
@ -315,8 +315,7 @@ async def build_item_response(
|
|||||||
title=item["title"],
|
title=item["title"],
|
||||||
media_content_type=item_type,
|
media_content_type=item_type,
|
||||||
media_class=CONTENT_TYPE_MEDIA_CLASS[item_type]["item"],
|
media_class=CONTENT_TYPE_MEDIA_CLASS[item_type]["item"],
|
||||||
can_expand=CONTENT_TYPE_MEDIA_CLASS[item_type]["children"]
|
can_expand=bool(CONTENT_TYPE_MEDIA_CLASS[item_type]["children"]),
|
||||||
is not None,
|
|
||||||
can_play=True,
|
can_play=True,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user