Commit 05a4fc5f authored by Nico Schallehn's avatar Nico Schallehn

test

parent 2185b5f9
...@@ -868,6 +868,7 @@ class Media { ...@@ -868,6 +868,7 @@ class Media {
$result2 = $mysqli->query($Query); $result2 = $mysqli->query($Query);
if($mysqli->error != ""){ echo "Mysql-Fehler: ".$mysqli->error.PHP_EOL; return false;} if($mysqli->error != ""){ echo "Mysql-Fehler: ".$mysqli->error.PHP_EOL; return false;}
$counterNotFound = 0; $counterNotFound = 0;
}else{ echo " Cover für series_nr: ".$Film["series_nr"]." existiert bereits!";}
while ($Film2 = $result2->fetch_assoc()){ while ($Film2 = $result2->fetch_assoc()){
if(!file_exists($this->config["CoverDir"]."Staffeln/full/".$Film2["season_nr"].".jpg")){ if(!file_exists($this->config["CoverDir"]."Staffeln/full/".$Film2["season_nr"].".jpg")){
...@@ -890,10 +891,10 @@ class Media { ...@@ -890,10 +891,10 @@ class Media {
} }else{ echo " Cover für season_nr: ".$Film2["season_nr"]." existiert bereits!";}
} }
}
} }
echo $this->Console->getColoredString("Coverdownload > Upload auf FTP Server", "black", "light_gray") .PHP_EOL; echo $this->Console->getColoredString("Coverdownload > Upload auf FTP Server", "black", "light_gray") .PHP_EOL;
shell_exec("sh ~/MediaDBPythonScripte/coversync.sh"); shell_exec("sh ~/MediaDBPythonScripte/coversync.sh");
......
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