Fix Sonos issue (#39790)

pull/39798/head
cgtobi 2020-09-08 14:13:48 +02:00 committed by GitHub
parent fa1a53cdeb
commit 973524a4e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -1565,6 +1565,7 @@ def get_media(media_library, item_id, search_type):
search_type,
"/".join(item_id.split("/")[:-1]),
full_album_art_uri=True,
max_items=0,
):
if item.item_id == item_id:
return item