mirror of
https://github.com/home-assistant/core.git
synced 2026-04-27 05:38:00 +00:00
Fix playlist media_class_filter in search_media for squeezebox (#151973)
This commit is contained in:
@@ -607,7 +607,7 @@ class SqueezeBoxMediaPlayerEntity(SqueezeboxEntity, MediaPlayerEntity):
|
||||
_media_content_type_list = (
|
||||
query.media_content_type.lower().replace(", ", ",").split(",")
|
||||
if query.media_content_type
|
||||
else ["albums", "tracks", "artists", "genres"]
|
||||
else ["albums", "tracks", "artists", "genres", "playlists"]
|
||||
)
|
||||
|
||||
if query.media_content_type and set(_media_content_type_list).difference(
|
||||
|
||||
Reference in New Issue
Block a user