Commit 6f42e295 authored by Nico Schallehn's avatar Nico Schallehn

test

parent b44341e5
......@@ -956,7 +956,7 @@ class Media {
echo " done!".PHP_EOL;
}
}
echo "geht";
echo "geht1".PHP_EOL;
if(filesize($this->config["CoverDir"]."Filme/full/".$Film["imdbID"].".jpg")>0){
if(!file_exists($this->config["CoverDir"]."Filme/low/".$Film["imdbID"].".jpg")){
shell_exec("convert ".$this->config["CoverDir"]."Filme/full/".$Film["imdbID"].".jpg".
......@@ -971,7 +971,7 @@ class Media {
}else {
shell_exec("rm ".$this->config["CoverDir"]."Filme/full/".$Film["imdbID"].".jpg");
}
echo "geht2".PHP_EOL;
if(!file_exists($this->config["CoverDir"]."Filme/background/".$Film["imdbID"].".jpg")){
echo " Lade Hintergrundbild von fanart.tv ....";
$Data = @file_get_contents("http://webservice.fanart.tv/v3/movies/tt".$Film["imdbID"]."?api_key=".$this->config["ApiKeys"]['Fanart_Key']);
......
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