diff --git a/modules/radarr.py b/modules/radarr.py index 426eba0c..c69139e5 100644 --- a/modules/radarr.py +++ b/modules/radarr.py @@ -17,6 +17,7 @@ class Radarr: self.token = params["token"] try: self.api = RadarrAPI(self.url, self.token, session=self.config.session) + self.api.respect_list_exclusions_when_adding() except ArrException as e: raise Failed(e) self.add = params["add"] diff --git a/modules/sonarr.py b/modules/sonarr.py index 20154440..533ac127 100644 --- a/modules/sonarr.py +++ b/modules/sonarr.py @@ -35,6 +35,7 @@ class Sonarr: self.token = params["token"] try: self.api = SonarrAPI(self.url, self.token, session=self.config.session) + self.api.respect_list_exclusions_when_adding() except ArrException as e: raise Failed(e) self.add = params["add"] @@ -59,7 +60,7 @@ class Sonarr: monitor = monitor_translation[options["monitor"] if "monitor" in options else self.monitor] quality_profile = options["quality"] if "quality" in options else self.quality_profile language_profile = options["language"] if "language" in options else self.language_profile - language_profile = language_profile if self.api.v3 else 1 + language_profile = language_profile if self.api._raw.v3 else 1 series = options["series"] if "series" in options else self.series_type season = options["season"] if "season" in options else self.season_folder tags = options["tag"] if "tag" in options else self.tag diff --git a/requirements.txt b/requirements.txt index 843f4385..60537946 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ PlexAPI==4.7.2 tmdbv3api==1.7.6 -arrapi==1.1.7 +arrapi==1.2.3 lxml==4.6.4 requests==2.26.0 ruamel.yaml==0.17.17