From 38f652c89712bdcea1cc36023d4540319cf6be53 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Sun, 29 Apr 2018 03:13:07 +0200 Subject: [PATCH] CIMDB: load api key from settings Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/d84c5a20347263d50aad96072f4efa5ceebcce7e Author: Thilo Graf Date: 2018-04-29 (Sun, 29 Apr 2018) --- src/gui/imdb.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/imdb.cpp b/src/gui/imdb.cpp index 1d67b99bc..a765eb431 100644 --- a/src/gui/imdb.cpp +++ b/src/gui/imdb.cpp @@ -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;