From c8d0c14ebc2a3a53662b0369b99a3016bca41fff Mon Sep 17 00:00:00 2001 From: jxxghp Date: Mon, 11 Aug 2025 13:57:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20plex.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/modules/plex/plex.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/modules/plex/plex.py b/app/modules/plex/plex.py index e52003da..6c6040bd 100644 --- a/app/modules/plex/plex.py +++ b/app/modules/plex/plex.py @@ -170,9 +170,9 @@ class Plex: sections = self._plex.library.sections() movie_count = tv_count = episode_count = 0 # 媒体库白名单 - allow_library = [lib.id for lib in self.get_librarys(hidden=True)] + allow_library = [str(lib.id) for lib in self.get_librarys(hidden=True)] for sec in sections: - if sec.key not in allow_library: + if str(sec.key) not in allow_library: continue if sec.type == "movie": movie_count += sec.totalSize