mirror of
https://github.com/sudoxnym/fin-assistant.git
synced 2026-04-14 19:46:26 +00:00
FIX: cast
This commit is contained in:
parent
e5cf2d04b3
commit
1edf2b4901
1 changed files with 2 additions and 2 deletions
|
|
@ -113,8 +113,8 @@ class JellyfinSource(MediaSource):
|
||||||
return None
|
return None
|
||||||
|
|
||||||
media_content_type, media_content_id = self.parse_mediasource_identifier(item.identifier)
|
media_content_type, media_content_id = self.parse_mediasource_identifier(item.identifier)
|
||||||
|
t = await self.jelly_cm.get_stream_url(media_content_id, media_content_type)
|
||||||
return PlayMedia(self.jelly_cm.get_stream_url(media_content_id, media_content_type))
|
return PlayMedia(t[0], t[1])
|
||||||
|
|
||||||
async def async_browse_media(
|
async def async_browse_media(
|
||||||
self, item: MediaSourceItem, media_types: Tuple[str] = MEDIA_MIME_TYPES
|
self, item: MediaSourceItem, media_types: Tuple[str] = MEDIA_MIME_TYPES
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue