|
|
|
@ -517,7 +517,7 @@ class Config:
|
|
|
|
|
logger.info(f"Connecting to {display_name} library's Radarr...")
|
|
|
|
|
logger.info("")
|
|
|
|
|
try:
|
|
|
|
|
library.Radarr = Radarr(self, {
|
|
|
|
|
library.Radarr = Radarr(self, library, {
|
|
|
|
|
"url": check_for_attribute(lib, "url", parent="radarr", var_type="url", default=self.general["radarr"]["url"], req_default=True, save=False),
|
|
|
|
|
"token": check_for_attribute(lib, "token", parent="radarr", default=self.general["radarr"]["token"], req_default=True, save=False),
|
|
|
|
|
"add": check_for_attribute(lib, "add", parent="radarr", var_type="bool", default=self.general["radarr"]["add"], save=False),
|
|
|
|
@ -545,7 +545,7 @@ class Config:
|
|
|
|
|
logger.info(f"Connecting to {display_name} library's Sonarr...")
|
|
|
|
|
logger.info("")
|
|
|
|
|
try:
|
|
|
|
|
library.Sonarr = Sonarr(self, {
|
|
|
|
|
library.Sonarr = Sonarr(self, library, {
|
|
|
|
|
"url": check_for_attribute(lib, "url", parent="sonarr", var_type="url", default=self.general["sonarr"]["url"], req_default=True, save=False),
|
|
|
|
|
"token": check_for_attribute(lib, "token", parent="sonarr", default=self.general["sonarr"]["token"], req_default=True, save=False),
|
|
|
|
|
"add": check_for_attribute(lib, "add", parent="sonarr", var_type="bool", default=self.general["sonarr"]["add"], save=False),
|
|
|
|
@ -576,7 +576,7 @@ class Config:
|
|
|
|
|
logger.info(f"Connecting to {display_name} library's Tautulli...")
|
|
|
|
|
logger.info("")
|
|
|
|
|
try:
|
|
|
|
|
library.Tautulli = Tautulli(self, {
|
|
|
|
|
library.Tautulli = Tautulli(self, library, {
|
|
|
|
|
"url": check_for_attribute(lib, "url", parent="tautulli", var_type="url", default=self.general["tautulli"]["url"], req_default=True, save=False),
|
|
|
|
|
"apikey": check_for_attribute(lib, "apikey", parent="tautulli", default=self.general["tautulli"]["apikey"], req_default=True, save=False)
|
|
|
|
|
})
|
|
|
|
|