@ -24,7 +24,7 @@ class Radarr:
self.url = params["url"]
self.token = params["token"]
try:
self.api = RadarrAPI(self.url, self.token)
self.api = RadarrAPI(self.url, self.token, session=self.config.session)
except ArrException as e:
raise Failed(e)
self.add = params["add"]
@ -29,7 +29,7 @@ class Sonarr:
self.api = SonarrAPI(self.url, self.token)
self.api = SonarrAPI(self.url, self.token, session=self.config.session)
@ -111,7 +111,7 @@ discover_tv_sort = [
class TMDb:
def __init__(self, config, params):
self.config = config
self.TMDb = tmdbv3api.TMDb()
self.TMDb = tmdbv3api.TMDb(session=self.config.session)
self.TMDb.api_key = params["apikey"]
self.TMDb.language = params["language"]
response = tmdbv3api.Configuration().info()
@ -1,6 +1,6 @@
PlexAPI==4.6.1
tmdbv3api==1.7.5
arrapi==1.0.2
tmdbv3api==1.7.6
arrapi==1.1.0
lxml
requests>=2.4.2
ruamel.yaml
@ -8,3 +8,4 @@ schedule
retrying
pathvalidate
pillow
python-slugify