mirror of
https://github.com/sudoxnym/fin-assistant.git
synced 2026-04-14 11:37:38 +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
|
||||
|
||||
media_content_type, media_content_id = self.parse_mediasource_identifier(item.identifier)
|
||||
|
||||
return PlayMedia(self.jelly_cm.get_stream_url(media_content_id, media_content_type))
|
||||
t = await self.jelly_cm.get_stream_url(media_content_id, media_content_type)
|
||||
return PlayMedia(t[0], t[1])
|
||||
|
||||
async def async_browse_media(
|
||||
self, item: MediaSourceItem, media_types: Tuple[str] = MEDIA_MIME_TYPES
|
||||
|
|
|
|||
Loading…
Reference in a new issue