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

test

parent 7dcb5464
...@@ -812,8 +812,9 @@ class Media { ...@@ -812,8 +812,9 @@ class Media {
if(strpos($url, "imdb-share")>3){ if(strpos($url, "imdb-share")>3){
//TODO 3. Quelle für cover einbauen //TODO 3. Quelle für cover einbauen
//$fanart = jsonCacheDecoder("http://webservice.fanart.tv/v3/movies/tt".$Film["imdbID"]."?api_key=".$this->config["ApiKeys"]['Fanart_Key']); //$fanart = jsonCacheDecoder("http://webservice.fanart.tv/v3/movies/tt".$Film["imdbID"]."?api_key=".$this->config["ApiKeys"]['Fanart_Key']);
echo "http://webservice.fanart.tv/v3/movies/tt".$Film["imdbID"]."?api_key=".$this->config["ApiKeys"]["Fanart_Key"].PHP_EOL;
echo "fail !".PHP_EOL; echo "fail !".PHP_EOL;
echo "http://webservice.fanart.tv/v3/movies/tt".$Film["imdbID"]."?api_key=".$this->config["ApiKeys"]["Fanart_Key"].PHP_EOL;
$counterNotFound++; $counterNotFound++;
}else{ }else{
shell_exec("wget ".$url." -O ".$this->config["CoverDir"]."Filme/full/".$Film["imdbID"].".jpg"." > /dev/null 2>&1"); shell_exec("wget ".$url." -O ".$this->config["CoverDir"]."Filme/full/".$Film["imdbID"].".jpg"." > /dev/null 2>&1");
......
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