Jellyfin/Emby: Log missing identifiers to debug

Signed-off-by: Luis Garcia <git@luigi311.com>
This commit is contained in:
Luis Garcia
2025-07-11 18:06:20 +00:00
parent c3be980eea
commit bdb58918e7

View File

@@ -35,13 +35,13 @@ def extract_identifiers_from_item(
id = None id = None
if not title: if not title:
id = item.get("Id") id = item.get("Id")
logger.info(f"{server_type}: Name not found for {id}") logger.debug(f"{server_type}: Name not found for {id}")
guids = {} guids = {}
if generate_guids: if generate_guids:
guids = {k.lower(): v for k, v in item.get("ProviderIds", {}).items()} guids = {k.lower(): v for k, v in item.get("ProviderIds", {}).items()}
if not guids: if not guids:
logger.info( logger.debug(
f"{server_type}: {title if title else id} has no guids", f"{server_type}: {title if title else id} has no guids",
) )
@@ -59,7 +59,7 @@ def extract_identifiers_from_item(
) )
if not locations: if not locations:
logger.info(f"{server_type}: {title if title else id} has no locations") logger.debug(f"{server_type}: {title if title else id} has no locations")
return MediaIdentifiers( return MediaIdentifiers(
title=title, title=title,