tmdb: Add read apikey from neutrino.conf

Origin commit data
------------------
Branch: ni/coolstream
Commit: 6e8b9b6d1b
Author: bazi98 <bazi98@web.de>
Date: 2016-03-04 (Fri, 04 Mar 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
bazi98
2016-03-04 13:57:25 +01:00
committed by Michael Liebmann
parent 85078f0f29
commit 05ba3cedff
4 changed files with 11 additions and 14 deletions

View File

@@ -58,7 +58,7 @@ class cTmdb
static size_t CurlWriteToString(void *ptr, size_t size, size_t nmemb, void *data);
std::string encodeUrl(std::string txt);
std::string decodeUrl(std::string url);
std::string random_API_KEY();
std::string key; // tmdb api key
bool getUrl(std::string &url, std::string &answer, CURL *_curl_handle = NULL);
bool DownloadUrl(std::string url, std::string file, CURL *_curl_handle = NULL);
bool GetMovieDetails();