CIMDB: load api key from settings

Origin commit data
------------------
Commit: d84c5a2034
Author: Thilo Graf <dbt@novatux.de>
Date: 2018-04-29 (Sun, 29 Apr 2018)
This commit is contained in:
2018-04-29 03:13:07 +02:00
committed by vanhofen
parent e2377c569a
commit 38f652c897

View File

@@ -47,7 +47,8 @@ CIMDB::CIMDB()
search_error = "IMDb: Google download failed";
imdb_url = "http://www.omdbapi.com/?plot=full&r=json&i=";
imdb_outfile = "/tmp/imdb.json";
omdb_apikey = "&apikey=20711f9e";
omdb_apikey = "&apikey=";
omdb_apikey += g_settings.imdb_api_key;
posterfile = "/tmp/imdb.jpg";
acc = 0;