mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-26 06:20:23 +00:00
Change debug level of unscheduled file & trakt convert error
This commit is contained in:
parent
61398f36db
commit
bff9462261
2 changed files with 3 additions and 3 deletions
|
@ -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…
Reference in a new issue