Log if multiple types and continue instead of error
This commit is contained in:
@@ -385,9 +385,12 @@ class Jellyfin:
|
|||||||
|
|
||||||
# If there are multiple types in library raise error
|
# If there are multiple types in library raise error
|
||||||
if len(types) > 1:
|
if len(types) > 1:
|
||||||
raise Exception(
|
logger(
|
||||||
f"Jellyfin: Library {library_title} has multiple types: {types}"
|
f"Jellyfin: Skipping Library {library_title} due to multiple types: {types}",
|
||||||
|
1,
|
||||||
)
|
)
|
||||||
|
continue
|
||||||
|
|
||||||
library_type = types.pop()
|
library_type = types.pop()
|
||||||
|
|
||||||
# Get watched for user
|
# Get watched for user
|
||||||
|
|||||||
Reference in New Issue
Block a user