[33] Merge remote-tracking branch 'yozora/debuglevels' into nightly

pull/1290/head
meisnate12 2 years ago
commit 4c2f45a3dc

@ -281,7 +281,7 @@ class Trakt:
ids.append((int(item["id"]), final_id, final_type) if trakt_ids else (final_id, final_type)) ids.append((int(item["id"]), final_id, final_type) if trakt_ids else (final_id, final_type))
else: else:
name = data["name"] if current_type in ["person", "list"] else f"{data['title']} ({data['year']})" 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 return ids
def _build_item_json(self, 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: if not ignore_schedules:
err = e err = e
if err: 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: 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("") logger.info("")
continue continue
files.extend(current) files.extend(current)

Loading…
Cancel
Save