Plex: Remove logging if locations or guids

Remove the logging of if an item has locations or guids as that
forces a fetch of that data which defeats the purpose of generate
guid/location variables

Signed-off-by: Luis Garcia <git@luigi311.com>
pull/224/head
Luis Garcia 2025-02-19 12:44:21 -07:00
parent ce5b810a5b
commit 4d0f1d303f
1 changed files with 0 additions and 12 deletions

View File

@ -61,18 +61,6 @@ def extract_guids_from_item(item: Movie | Show | Episode) -> dict[str, str]:
def extract_identifiers_from_item(item: Movie | Show | Episode) -> MediaIdentifiers: def extract_identifiers_from_item(item: Movie | Show | Episode) -> MediaIdentifiers:
guids = extract_guids_from_item(item) guids = extract_guids_from_item(item)
if not item.locations:
logger(
f"Plex: {item.title} has no locations",
1,
)
if not item.guids:
logger(
f"Plex: {item.title} has no guids",
1,
)
return MediaIdentifiers( return MediaIdentifiers(
title=item.title, title=item.title,
locations=( locations=(