Skip to content

Commit

Permalink
Disable OMDb lookups
Browse files Browse the repository at this point in the history
  • Loading branch information
MoojMidge committed Dec 25, 2022
1 parent 909ceab commit e98d624
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion resources/lib/items/container.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def __init__(self, handle, paramstring, **kwargs):

# API class initialisation
self.tmdb_api = TMDb()
self.omdb_api = OMDb() if get_setting('omdb_apikey', 'str') else None
self.omdb_api = None
self.ftv_api = FanartTV(cache_only=self.ftv_is_cache_only(), )
self.trakt_api = TraktAPI()
self.mdblist_api = MDbList()
Expand Down
2 changes: 1 addition & 1 deletion resources/lib/monitor/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def __init__(self):
self.tmdb_api = TMDb()
self.ftv_api = FanartTV()
self.tvdb_api = TVDb()
self.omdb_api = OMDb() if get_setting('omdb_apikey', 'str') else None
self.omdb_api = None
self.ib = ItemBuilder(tmdb_api=self.tmdb_api, ftv_api=self.ftv_api, trakt_api=self.trakt_api)
self.ib.ftv_api = self.ftv_api if get_setting('service_fanarttv_lookup') else None
self.all_awards = self.get_awards_data()
Expand Down

0 comments on commit e98d624

Please sign in to comment.