Commit 740fa1fc authored by Nico Schallehn's avatar Nico Schallehn

test

parent 7490ad9e
......@@ -777,7 +777,7 @@ class Media {
$counterNotFound = 0;
//shell_exec("rm ".$this->config["CoverDir"]."Filme/full/*");
while ($Film = $result->fetch_assoc()){
$url = "https://api.themoviedb.org/3/find/tt".$imdbID."?external_source=imdb_id&api_key=".$this->config["ApiKeys"]['Tmdb_Key']."&language=de".PHP_EOL; //$this->config["ApiKeys"]['Tmdb_Key']
$url = "https://api.themoviedb.org/3/find/tt".$Film["imdbID"]."?external_source=imdb_id&api_key=".$this->config["ApiKeys"]['Tmdb_Key']."&language=de".PHP_EOL; //$this->config["ApiKeys"]['Tmdb_Key']
$tmdb = $this->jsonCacheDecoder($url);
if(!file_exists($this->config["CoverDir"]."Filme/full/".$Film["imdbID"].".jpg")){
......
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