Squeezebox: Fix track selection in media browser (#147185)

This commit is contained in:
Sören Beye 2025-07-05 11:36:45 +02:00 committed by GitHub
parent 676567f471
commit 2ea09ff37a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -315,8 +315,7 @@ async def build_item_response(
title=item["title"],
media_content_type=item_type,
media_class=CONTENT_TYPE_MEDIA_CLASS[item_type]["item"],
can_expand=CONTENT_TYPE_MEDIA_CLASS[item_type]["children"]
is not None,
can_expand=bool(CONTENT_TYPE_MEDIA_CLASS[item_type]["children"]),
can_play=True,
)