This commit is contained in:
jxxghp
2024-01-05 21:35:01 +08:00
parent 0a57e69bcf
commit ff33432809
2 changed files with 2 additions and 2 deletions

View File

@ -951,7 +951,7 @@ class Emby(metaclass=Singleton):
"""
if not self._host or not self._apikey:
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]]:
"""

View File

@ -619,7 +619,7 @@ class Jellyfin(metaclass=Singleton):
"""
if not self._host or not self._apikey:
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:
"""