|
|
@ -111,7 +111,7 @@ discover_tv_sort = [
|
|
|
|
class TMDb:
|
|
|
|
class TMDb:
|
|
|
|
def __init__(self, config, params):
|
|
|
|
def __init__(self, config, params):
|
|
|
|
self.config = config
|
|
|
|
self.config = config
|
|
|
|
self.TMDb = tmdbv3api.TMDb()
|
|
|
|
self.TMDb = tmdbv3api.TMDb(session=self.config.session)
|
|
|
|
self.TMDb.api_key = params["apikey"]
|
|
|
|
self.TMDb.api_key = params["apikey"]
|
|
|
|
self.TMDb.language = params["language"]
|
|
|
|
self.TMDb.language = params["language"]
|
|
|
|
response = tmdbv3api.Configuration().info()
|
|
|
|
response = tmdbv3api.Configuration().info()
|
|
|
|