mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-29 07:50:24 +00:00
move some debugs to trace
This commit is contained in:
parent
26779c566d
commit
0a6ec9ea2c
3 changed files with 8 additions and 6 deletions
|
@ -923,7 +923,7 @@ class CollectionBuilder:
|
||||||
else:
|
else:
|
||||||
raise Failed(f"{self.Type} Error: {method_name} attribute must be either all, future, missing, existing, pilot, first, latest or none")
|
raise Failed(f"{self.Type} Error: {method_name} attribute must be either all, future, missing, existing, pilot, first, latest or none")
|
||||||
elif method_name == "sonarr_series":
|
elif method_name == "sonarr_series":
|
||||||
if str(method_data).lower() in sonarr.series_type:
|
if str(method_data).lower() in sonarr.series_types:
|
||||||
self.sonarr_details["series"] = str(method_data).lower()
|
self.sonarr_details["series"] = str(method_data).lower()
|
||||||
else:
|
else:
|
||||||
raise Failed(f"{self.Type} Error: {method_name} attribute must be either standard, daily, or anime")
|
raise Failed(f"{self.Type} Error: {method_name} attribute must be either standard, daily, or anime")
|
||||||
|
|
|
@ -60,8 +60,9 @@ class Radarr:
|
||||||
if movie.path:
|
if movie.path:
|
||||||
arr_paths[movie.path[:-1] if movie.path.endswith(("/", "\\")) else movie.path] = movie.tmdbId
|
arr_paths[movie.path[:-1] if movie.path.endswith(("/", "\\")) else movie.path] = movie.tmdbId
|
||||||
arr_ids[movie.tmdbId] = movie
|
arr_ids[movie.tmdbId] = movie
|
||||||
logger.debug(arr_paths)
|
if self.config.trace_mode:
|
||||||
logger.debug(arr_ids)
|
logger.debug(arr_paths)
|
||||||
|
logger.debug(arr_ids)
|
||||||
|
|
||||||
added = []
|
added = []
|
||||||
exists = []
|
exists = []
|
||||||
|
|
|
@ -6,7 +6,7 @@ from arrapi.exceptions import ArrException, Invalid
|
||||||
|
|
||||||
logger = logging.getLogger("Plex Meta Manager")
|
logger = logging.getLogger("Plex Meta Manager")
|
||||||
|
|
||||||
series_type = ["standard", "daily", "anime"]
|
series_types = ["standard", "daily", "anime"]
|
||||||
monitor_translation = {
|
monitor_translation = {
|
||||||
"all": "all", "future": "future", "missing": "missing", "existing": "existing",
|
"all": "all", "future": "future", "missing": "missing", "existing": "existing",
|
||||||
"pilot": "pilot", "first": "firstSeason", "latest": "latestSeason", "none": "none"
|
"pilot": "pilot", "first": "firstSeason", "latest": "latestSeason", "none": "none"
|
||||||
|
@ -86,8 +86,9 @@ class Sonarr:
|
||||||
if series.path:
|
if series.path:
|
||||||
arr_paths[series.path[:-1] if series.path.endswith(("/", "\\")) else series.path] = series.tvdbId
|
arr_paths[series.path[:-1] if series.path.endswith(("/", "\\")) else series.path] = series.tvdbId
|
||||||
arr_paths[series.tvdbId] = series
|
arr_paths[series.tvdbId] = series
|
||||||
logger.debug(arr_paths)
|
if self.config.trace_mode:
|
||||||
logger.debug(arr_ids)
|
logger.debug(arr_paths)
|
||||||
|
logger.debug(arr_ids)
|
||||||
|
|
||||||
added = []
|
added = []
|
||||||
exists = []
|
exists = []
|
||||||
|
|
Loading…
Reference in a new issue