mirror of
https://github.com/sudoxnym/fin-assistant.git
synced 2026-04-14 11:37:38 +00:00
Optimisation
This commit is contained in:
parent
890403a23c
commit
b76040e947
1 changed files with 3 additions and 2 deletions
|
|
@ -713,8 +713,9 @@ class JellyfinClientManager(object):
|
|||
return
|
||||
|
||||
for item in self._yamc["Items"]:
|
||||
item["stream_url"] = (await self.get_stream_url(item["Id"], item["Type"]))[0]
|
||||
item["info"] = (await self.get_stream_url(item["Id"], item["Type"]))[2]
|
||||
stream_info = await self.get_stream_url(item["Id"], item["Type"])
|
||||
item["stream_url"] = stream_info[0]
|
||||
item["info"] = stream_info[2]
|
||||
|
||||
_LOGGER.debug("update yamc query: %s", str(query))
|
||||
_LOGGER.debug(" response: %s", str(self._yamc))
|
||||
|
|
|
|||
Loading…
Reference in a new issue