mirror of
https://github.com/sudoxnym/fin-assistant.git
synced 2026-04-14 19:46:26 +00:00
debug
This commit is contained in:
parent
18837421f9
commit
890403a23c
1 changed files with 3 additions and 1 deletions
|
|
@ -210,7 +210,7 @@ async def async_library_items(jelly_cm: JellyfinClientManager,
|
||||||
media_content_id = None
|
media_content_id = None
|
||||||
else:
|
else:
|
||||||
media_content_type, media_content_id = JellyfinSource.parse_mediasource_identifier(media_content_id_in)
|
media_content_type, media_content_id = JellyfinSource.parse_mediasource_identifier(media_content_id_in)
|
||||||
_LOGGER.debug(f'>> {media_content_type} / {media_content_id}')
|
_LOGGER.debug(f'-- async_library_items: {media_content_type} / {media_content_id}')
|
||||||
|
|
||||||
if media_content_type in [None, "library"]:
|
if media_content_type in [None, "library"]:
|
||||||
library_info = BrowseMediaSource(
|
library_info = BrowseMediaSource(
|
||||||
|
|
@ -257,6 +257,7 @@ async def async_library_items(jelly_cm: JellyfinClientManager,
|
||||||
thumbnail=jelly_cm.get_artwork_url(media_content_id),
|
thumbnail=jelly_cm.get_artwork_url(media_content_id),
|
||||||
children=[],
|
children=[],
|
||||||
)
|
)
|
||||||
|
_LOGGER.debug(f'-- async_library_items: 1')
|
||||||
|
|
||||||
items = await jelly_cm.get_items(query)
|
items = await jelly_cm.get_items(query)
|
||||||
for item in items:
|
for item in items:
|
||||||
|
|
@ -295,5 +296,6 @@ async def async_library_items(jelly_cm: JellyfinClientManager,
|
||||||
library_info.can_play=IsPlayable(item["Type"], canPlayList),
|
library_info.can_play=IsPlayable(item["Type"], canPlayList),
|
||||||
break
|
break
|
||||||
|
|
||||||
|
_LOGGER.debug(f'<< async_library_items')
|
||||||
return library_info
|
return library_info
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue