Commit 48670be6 authored by Nico Schallehn's avatar Nico Schallehn

test

parent ca475f23
...@@ -340,7 +340,7 @@ class Media { ...@@ -340,7 +340,7 @@ class Media {
else{ else{
echo " done!".PHP_EOL; echo " done!".PHP_EOL;
} }
if(file_exists($this->config["CoverDir"]."Filme/full/".$Film["imdbID"].".jpg")){ if(filesize($this->config["CoverDir"]."Filme/full/".$Film["imdbID"].".jpg")>0){
shell_exec("convert ".$this->config["CoverDir"]."Filme/full/".$Film["imdbID"].".jpg". shell_exec("convert ".$this->config["CoverDir"]."Filme/full/".$Film["imdbID"].".jpg".
" -bordercolor White -border 1 -fuzz 50%% -trim -bordercolor White +repage -resize 5000x150\> ". " -bordercolor White -border 1 -fuzz 50%% -trim -bordercolor White +repage -resize 5000x150\> ".
$this->config["CoverDir"]."Filme/low/".$Film["imdbID"].".jpg"); $this->config["CoverDir"]."Filme/low/".$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