From bff9462261439383873d695a0b030f701e43d9df Mon Sep 17 00:00:00 2001 From: yozoraxcii Date: Fri, 27 Jan 2023 13:33:58 +0000 Subject: [PATCH] Change debug level of unscheduled file & trakt convert error --- modules/trakt.py | 2 +- modules/util.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/trakt.py b/modules/trakt.py index 3809e1d1..f6381a0c 100644 --- a/modules/trakt.py +++ b/modules/trakt.py @@ -281,7 +281,7 @@ class Trakt: ids.append((int(item["id"]), final_id, final_type) if trakt_ids else (final_id, final_type)) else: name = data["name"] if current_type in ["person", "list"] else f"{data['title']} ({data['year']})" - logger.error(f"Trakt Error: No {id_display} found for {name}") + logger.warning(f"Trakt Error: No {id_display} found for {name}") return ids def _build_item_json(self, ids): diff --git a/modules/util.py b/modules/util.py index befd4716..8b908b79 100644 --- a/modules/util.py +++ b/modules/util.py @@ -493,9 +493,9 @@ def load_files(files_to_load, method, schedule=None, lib_vars=None): if not ignore_schedules: err = e if err: - logger.warning(f"Metadata Schedule:{err}\n\nMetadata File{'s' if len(current) > 1 else ''} not scheduled to run") + logger.info(f"Metadata Schedule:{err}\n") for file_type, file_path, temp_vars, asset_directory in current: - logger.warning(f"{file_type}: {file_path}") + logger.warning(f"{file_type}: {file_path} not scheduled to run") logger.info("") continue files.extend(current)