mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-03 19:01:25 +02:00
CIMDB: load api key from settings
This commit is contained in:
@@ -47,7 +47,8 @@ CIMDB::CIMDB()
|
|||||||
search_error = "IMDb: Google download failed";
|
search_error = "IMDb: Google download failed";
|
||||||
imdb_url = "http://www.omdbapi.com/?plot=full&r=json&i=";
|
imdb_url = "http://www.omdbapi.com/?plot=full&r=json&i=";
|
||||||
imdb_outfile = "/tmp/imdb.json";
|
imdb_outfile = "/tmp/imdb.json";
|
||||||
omdb_apikey = "";
|
omdb_apikey = "&apikey=";
|
||||||
|
omdb_apikey += g_settings.imdb_api_key;
|
||||||
posterfile = "/tmp/imdb.jpg";
|
posterfile = "/tmp/imdb.jpg";
|
||||||
|
|
||||||
acc = 0;
|
acc = 0;
|
||||||
|
Reference in New Issue
Block a user