self.general["plex"]["sync_mode"]=check_for_attribute(self.data,"sync_mode",parent="plex",default="append",test_list=["append","sync"],options="| \tappend (Only Add Items to the Collection)\n| \tsync (Add & Remove Items from the Collection)")if"plex"inself.dataelse"append"
self.general["plex"]["sync_mode"]=check_for_attribute(self.data,"sync_mode",parent="plex",default="append",test_list=["append","sync"],options="| \tappend (Only Add Items to the Collection)\n| \tsync (Add & Remove Items from the Collection)")if"plex"inself.dataelse"append"
logger.warning("Config Warning: plex sub-attribute show_unmanaged_collections must be either true or false using general value: {}".format(self.general["plex"]["show_unmanaged_collections"]))
else:
logger.warning("Config Warning: radarr sub-attribute add is blank using general value: {}".format(self.general["radarr"]["add"]))
params["tmdb"]=self.TMDb
params["tmdb"]=self.TMDb
params["tvdb"]=self.TVDb
params["tvdb"]=self.TVDb
@ -1032,7 +1043,7 @@ class Config:
exceptExceptionase:
exceptExceptionase:
util.print_stacktrace()
util.print_stacktrace()
logger.error("Unknown Error: {}".format(e))
logger.error("Unknown Error: {}".format(e))
iflibrary.show_unmanaged_collectionsisTrue:
logger.info("")
logger.info("")
util.seperator("Unmanaged Collections in {} Library".format(library.name))
util.seperator("Unmanaged Collections in {} Library".format(library.name))