Commit 99297830 authored by Nico Schallehn's avatar Nico Schallehn

test

parent 67b3a750
...@@ -534,6 +534,10 @@ class Media { ...@@ -534,6 +534,10 @@ class Media {
echo " Hole Daten von themoviedb.org... "; echo " Hole Daten von themoviedb.org... ";
//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;
var_dump($tmdb);
exit;
if(!($tmdb == false)){ if(!($tmdb == false)){
if(isset($tmdb["movie_results"][0])){ if(isset($tmdb["movie_results"][0])){
if(isset($tmdb["movie_results"][0]["overview"])){ if(isset($tmdb["movie_results"][0]["overview"])){
......
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