We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a274961 commit 2b7992eCopy full SHA for 2b7992e
homeassistant/components/squeezebox/browse_media.py
@@ -311,8 +311,7 @@ async def build_item_response(
311
title=item["title"],
312
media_content_type=item_type,
313
media_class=CONTENT_TYPE_MEDIA_CLASS[item_type]["item"],
314
- can_expand=CONTENT_TYPE_MEDIA_CLASS[item_type]["children"]
315
- is not None,
+ can_expand=bool(CONTENT_TYPE_MEDIA_CLASS[item_type]["children"]),
316
can_play=True,
317
)
318
0 commit comments