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

test

parent 70ddd15d
...@@ -133,7 +133,7 @@ class Media { ...@@ -133,7 +133,7 @@ class Media {
$fehlerArr[] = $fehler; $fehlerArr[] = $fehler;
echo $this->Console->getColoredString(" ","black", "red").PHP_EOL; echo $this->Console->getColoredString(" ","black", "red").PHP_EOL;
}else if((file_exists("./phpTestout/".$array['imdbID'].".txt"))){ }else if((file_exists("./phpTestout/".$array['imdbID'].".txt"))){
echo "Film wurde bereits verarbeitet!! Bitte Outputfile in 'phpTestout' löschen!".PHP_EOL; echo $this->Console->getColoredString("Info!","black", "red")."Film wurde bereits verarbeitet!! Bitte Outputfile in 'phpTestout' löschen!".PHP_EOL;
}else{ }else{
$Pfad = (($action == "einlesen")?$this->PfadzumEinlesen."/":$this->PfadzumAusgeben."Filme/").(strlen($value[0])>0?$value[0].'/':''); $Pfad = (($action == "einlesen")?$this->PfadzumEinlesen."/":$this->PfadzumAusgeben."Filme/").(strlen($value[0])>0?$value[0].'/':'');
...@@ -895,6 +895,9 @@ class Media { ...@@ -895,6 +895,9 @@ class Media {
} }
} }
echo $this->Console->getColoredString("Coverdownload > Upload auf FTP Server", "black", "light_gray") .PHP_EOL;
shell_exec("sh ~/MediaDBPythonScripte/coversync.sh");
echo "Done!".PHP_EOL;
$end = time(); $end = time();
......
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