Commit 9a23b438 authored by Nico Schallehn's avatar Nico Schallehn

test

parent 0ce45059
...@@ -236,7 +236,9 @@ class Media { ...@@ -236,7 +236,9 @@ class Media {
if( $this->addMovie($array)){ if( $this->addMovie($array)){
echo "Kopiere datei..."; echo "Kopiere datei...";
$copy = 'mv "'.$Pfad.$FilenameOrg.'" "'.$this->PfadzumAusgeben.'"'; $copy = 'mv "'.
$Pfad.$FilenameOrg.'" "'.
$this->PfadzumAusgeben.($array["3d"] != ""?$this->config["HDD"][$this->HDDID]["Filme"]:$this->config["HDD"][$this->HDDID]["3D"])." /".utf8_encode($array["name"])." (".$array["resolution"].")".($array["3d"] != ""?" (3D)":"")." (".$array["imdbID"].")".$endung.'"';
file_put_contents("./phpTestout/".$array['imdbID'].".txt", $copy.PHP_EOL, FILE_APPEND); file_put_contents("./phpTestout/".$array['imdbID'].".txt", $copy.PHP_EOL, FILE_APPEND);
echo $copy."done!".PHP_EOL; echo $copy."done!".PHP_EOL;
return true; return true;
......
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