Change debug level of unscheduled file & trakt convert error

pull/1288/head
yozoraxcii 2 years ago
parent 61398f36db
commit bff9462261

@ -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):

@ -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)

Loading…
Cancel
Save