This commit is contained in:
jxxghp
2025-02-06 11:48:56 +08:00
parent 3d947f712c
commit b2462c5950
+1 -2
View File
@@ -156,10 +156,9 @@ class Jellyfin:
link = f"{self._playhost or self._host}web/index.html#!" \ link = f"{self._playhost or self._host}web/index.html#!" \
f"/tv.html?topParentId={library.get('Id')}" f"/tv.html?topParentId={library.get('Id')}"
case _: case _:
# FIXME
library_type = MediaType.UNKNOWN.value library_type = MediaType.UNKNOWN.value
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')}" f"/library.html?topParentId={library.get('Id')}"
image = self.__get_local_image_by_id(library.get("Id")) image = self.__get_local_image_by_id(library.get("Id"))
libraries.append( libraries.append(
schemas.MediaServerLibrary( schemas.MediaServerLibrary(