Commit aaeb72a4 authored by Nico Schallehn's avatar Nico Schallehn

test

parent d40b20d7
......@@ -366,6 +366,8 @@ class Media {
$mkdir = 'mkdir "'.$this->PfadzumAusgeben.'Serien/'.$array["SerienName"].' ('.$array["imdbID"].')/Staffel '.$array["Season"].' ('.$Resolution.') ('.$sound.')/"';
$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);
echo $mkdir.PHP_EOL;
echo $copy.PHP_EOL;
shell_exec($mkdir);
shell_exec($copy);
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