|
|
@ -670,7 +670,12 @@ class ConfigFile:
|
|
|
|
params["split_duplicates"] = check_for_attribute(lib, "split_duplicates", var_type="bool", default=False, save=False, do_print=False)
|
|
|
|
params["split_duplicates"] = check_for_attribute(lib, "split_duplicates", var_type="bool", default=False, save=False, do_print=False)
|
|
|
|
params["radarr_add_all_existing"] = check_for_attribute(lib, "radarr_add_all_existing", var_type="bool", default=False, save=False, do_print=False)
|
|
|
|
params["radarr_add_all_existing"] = check_for_attribute(lib, "radarr_add_all_existing", var_type="bool", default=False, save=False, do_print=False)
|
|
|
|
params["sonarr_add_all_existing"] = check_for_attribute(lib, "sonarr_add_all_existing", var_type="bool", default=False, save=False, do_print=False)
|
|
|
|
params["sonarr_add_all_existing"] = check_for_attribute(lib, "sonarr_add_all_existing", var_type="bool", default=False, save=False, do_print=False)
|
|
|
|
params["missing_path"] = check_for_attribute(lib, "missing_path", var_type="path", default_is_none=True, save=False)
|
|
|
|
params["missing_path"] = None
|
|
|
|
|
|
|
|
if "missing_path" in lib and lib["missing_path"]:
|
|
|
|
|
|
|
|
if os.path.exists(os.path.dirname(os.path.abspath(lib["missing_path"]))):
|
|
|
|
|
|
|
|
params["missing_path"] = lib["missing_path"]
|
|
|
|
|
|
|
|
else:
|
|
|
|
|
|
|
|
logger.error(f"Config Error: Folder {os.path.dirname(os.path.abspath(lib['missing_path']))} does not exist")
|
|
|
|
|
|
|
|
|
|
|
|
if lib and "operations" in lib and lib["operations"]:
|
|
|
|
if lib and "operations" in lib and lib["operations"]:
|
|
|
|
if isinstance(lib["operations"], dict):
|
|
|
|
if isinstance(lib["operations"], dict):
|
|
|
|