Better initial library filtering

Filter for only tv shows and movie type libraries in plex and jellyfin.
Jellyfin no longer require pulling in multiple different items and
instead use the actual library category

Signed-off-by: Luis Garcia <git@luigi311.com>
This commit is contained in:
Luis Garcia
2025-02-21 14:41:42 -07:00
parent 998f2b1209
commit de32d59aa1
2 changed files with 13 additions and 21 deletions

View File

@@ -287,6 +287,13 @@ class Plex:
library_title = library.title
library_type = library.type
if library_type not in ["movie", "show"]:
logger(
f"Plex: Skipping Library {library_title} found type {library_type}",
1,
)
continue
output[library_title] = library_type
return output