From f9895b2eddb0295ec4039b68f95fa894a2747916 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Thu, 12 Sep 2024 08:16:02 +0800 Subject: [PATCH] fix api --- app/modules/emby/emby.py | 2 -- app/modules/jellyfin/jellyfin.py | 2 -- app/modules/plex/plex.py | 2 -- 3 files changed, 6 deletions(-) diff --git a/app/modules/emby/emby.py b/app/modules/emby/emby.py index 48ed99e4..aa26a158 100644 --- a/app/modules/emby/emby.py +++ b/app/modules/emby/emby.py @@ -136,8 +136,6 @@ class Emby: return [] libraries = [] for library in self.__get_emby_librarys(username) or []: - if self._sync_libraries and library.get("Id") not in self._sync_libraries: - continue match library.get("CollectionType"): case "movies": library_type = MediaType.MOVIE.value diff --git a/app/modules/jellyfin/jellyfin.py b/app/modules/jellyfin/jellyfin.py index 2aa30360..ac65f331 100644 --- a/app/modules/jellyfin/jellyfin.py +++ b/app/modules/jellyfin/jellyfin.py @@ -132,8 +132,6 @@ class Jellyfin: return [] libraries = [] for library in self.__get_jellyfin_librarys(username) or []: - if self._sync_libraries and library.get("Id") not in self._sync_libraries: - continue match library.get("CollectionType"): case "movies": library_type = MediaType.MOVIE.value diff --git a/app/modules/plex/plex.py b/app/modules/plex/plex.py index c19b8bd1..1c166fd4 100644 --- a/app/modules/plex/plex.py +++ b/app/modules/plex/plex.py @@ -113,8 +113,6 @@ class Plex: return [] libraries = [] for library in self._libraries: - if self._sync_libraries and library.key not in self._sync_libraries: - continue match library.type: case "movie": library_type = MediaType.MOVIE.value