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 Franck Nijhof
parent a274961593
commit 2b7992e849
No known key found for this signature in database
GPG Key ID: AB33ADACE7101952

View File

@ -311,8 +311,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,
)