Commit ca8b1e46 authored by Nico Schallehn's avatar Nico Schallehn

todo hinzugefügt

parent db25fd7e
...@@ -225,6 +225,7 @@ class Media { ...@@ -225,6 +225,7 @@ class Media {
* @param * @param
*/private function gibTMDBdata($imdbID, &$DataArray){ */private function gibTMDBdata($imdbID, &$DataArray){
echo " Hole Daten von themoviedb.org... "; 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"); $tmdb = $this->jsonCacheDecoder("https://api.themoviedb.org/3/find/tt".$imdbID."?external_source=imdb_id&api_key=".$this->config["ApiKeys"]['Tmdb_Key']."&language=de");
if(isset($tmdb["movie_results"])){ if(isset($tmdb["movie_results"])){
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