#424 adding to Radarr and Sonarr now respect the Exclusion Lists

pull/431/head
meisnate12 3 years ago
parent 43206dbd5e
commit 792e37dc7e

@ -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"]

@ -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

@ -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

Loading…
Cancel
Save