Commit 4db3d7a7 authored by Nico Schallehn's avatar Nico Schallehn

kommit

parent 99297830
......@@ -534,9 +534,9 @@ class Media {
echo " Hole Daten von themoviedb.org... ";
//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");
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);
exit;
//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);
//exit;
if(!($tmdb == false)){
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