This commit is contained in:
jxxghp 2024-04-14 13:14:41 +08:00
parent 9a7cdc1e74
commit 906325710b

View File

@ -138,10 +138,10 @@ class Jellyfin:
case _:
continue
image = self.__get_local_image_by_id(library.get("Id"))
link = f"{self._playhost or self._host}web/index.html#!" \
link = f"{self._playhost or self._host}web/index.html#" \
f"/movies.html?topParentId={library.get('Id')}" \
if library_type == MediaType.MOVIE.value \
else f"{self._playhost or self._host}web/index.html#!" \
else f"{self._playhost or self._host}web/index.html#" \
f"/tv.html?topParentId={library.get('Id')}"
libraries.append(
schemas.MediaServerLibrary(