Commit 81941e4e authored by Nico Schallehn's avatar Nico Schallehn

test

parent 4c8b29ce
...@@ -363,7 +363,7 @@ class Media { ...@@ -363,7 +363,7 @@ class Media {
echo " Verschiebe Datei... "; echo " Verschiebe Datei... ";
$Endung = trim(substr($File,strripos( $File,".")+1)); $Endung = trim(substr($File,strripos( $File,".")+1));
$copy = 'mv "'.$File.'" "'.$this->PfadzumAusgeben.'Serien/'.$array["SerienName"].' ('.$array["imdbID"].')/Staffel '.$array["Season"].' ('.$Resolution.') ('.$sound.')/S'.$array["Season"].' E'.$array["episodenumber"]." ".$array["name"].".".$Endung.PHP_EOL; $copy = 'mv "'.$File.'" "'.$this->PfadzumAusgeben.'Serien/'.$array["SerienName"].' ('.$array["imdbID"].')/Staffel '.$array["Season"].' ('.$Resolution.') ('.$sound.')/S'.$array["Season"].' E'.$array["episodenumber"]." ".$array["name"].".".$Endung.'"'.PHP_EOL;
file_put_contents("./phpTestout/imdbID/".$array['imdbID'].".txt", $copy.PHP_EOL, FILE_APPEND); file_put_contents("./phpTestout/imdbID/".$array['imdbID'].".txt", $copy.PHP_EOL, FILE_APPEND);
shell_exec($copy); shell_exec($copy);
echo "done!".PHP_EOL; echo "done!".PHP_EOL;
......
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