fix api
This commit is contained in:
@ -951,7 +951,7 @@ class Emby(metaclass=Singleton):
|
|||||||
"""
|
"""
|
||||||
if not self._host or not self._apikey:
|
if not self._host or not self._apikey:
|
||||||
return ""
|
return ""
|
||||||
return "%sItems/%s/Images/Primary" % (self._playhost or self._host, item_id)
|
return "%sItems/%s/Images/Primary" % (self._host, item_id)
|
||||||
|
|
||||||
def get_resume(self, num: int = 12) -> Optional[List[schemas.MediaServerPlayItem]]:
|
def get_resume(self, num: int = 12) -> Optional[List[schemas.MediaServerPlayItem]]:
|
||||||
"""
|
"""
|
||||||
|
@ -619,7 +619,7 @@ class Jellyfin(metaclass=Singleton):
|
|||||||
"""
|
"""
|
||||||
if not self._host or not self._apikey:
|
if not self._host or not self._apikey:
|
||||||
return ""
|
return ""
|
||||||
return "%sItems/%s/Images/Primary" % (self._playhost or self._host, item_id)
|
return "%sItems/%s/Images/Primary" % (self._host, item_id)
|
||||||
|
|
||||||
def __get_backdrop_url(self, item_id: str, image_tag: str) -> str:
|
def __get_backdrop_url(self, item_id: str, image_tag: str) -> str:
|
||||||
"""
|
"""
|
||||||
|
Reference in New Issue
Block a user