Commit 9d58ca8c authored by Nico Schallehn's avatar Nico Schallehn

test

parent 4db3d7a7
...@@ -535,8 +535,8 @@ class Media { ...@@ -535,8 +535,8 @@ class Media {
//TODO COVERDOWNLOAD und FANART für themovieDB //TODO COVERDOWNLOAD und FANART für themovieDB
$tmdb = $this->jsonCacheDecoder("https://api.themoviedb.org/3/find/tt".$imdbID."?external_source=imdb_id&api_key=".$this->config["ApiKeys"]['Tmdb_Key']."&language=de"); $tmdb = $this->jsonCacheDecoder("https://api.themoviedb.org/3/find/tt".$imdbID."?external_source=imdb_id&api_key=".$this->config["ApiKeys"]['Tmdb_Key']."&language=de");
//echo "https://api.themoviedb.org/3/find/tt".$imdbID."?external_source=imdb_id&api_key=".$this->config["ApiKeys"]['Tmdb_Key']."&language=de".PHP_EOL; //echo "https://api.themoviedb.org/3/find/tt".$imdbID."?external_source=imdb_id&api_key=".$this->config["ApiKeys"]['Tmdb_Key']."&language=de".PHP_EOL;
//var_dump($tmdb); var_dump($tmdb);
//exit; exit;
if(!($tmdb == false)){ if(!($tmdb == false)){
if(isset($tmdb["movie_results"][0])){ if(isset($tmdb["movie_results"][0])){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment