Commit 9400091d authored by Nico Schallehn's avatar Nico Schallehn

test ob es noch geht ohne das daten geändert werden und ohne md5

parent a03ca7cb
...@@ -144,7 +144,7 @@ class Media { ...@@ -144,7 +144,7 @@ class Media {
$Pfad.$FilenameOrg.'" "'. $Pfad.$FilenameOrg.'" "'.
$this->PfadzumAusgeben.($array["3d"]==""?$this->config["HDD"][$this->HDDID]["Filme"]:$this->config["HDD"][$this->HDDID]["3D"]).$PfadOrg.$array["name"]." (".$array["resolution"].")".($array["3d"] != ""?" (3D)":"")." (".$array["imdbID"].").".$Endung.'"'; $this->PfadzumAusgeben.($array["3d"]==""?$this->config["HDD"][$this->HDDID]["Filme"]:$this->config["HDD"][$this->HDDID]["3D"]).$PfadOrg.$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);
shell_exec($copy); //shell_exec($copy);
echo "done!".PHP_EOL; echo "done!".PHP_EOL;
} }
//TODO nfo file generieren //TODO nfo file generieren
...@@ -459,6 +459,7 @@ class Media { ...@@ -459,6 +459,7 @@ class Media {
file_put_contents("./phpTestout/cover.txt", $status.PHP_EOL, FILE_APPEND); file_put_contents("./phpTestout/cover.txt", $status.PHP_EOL, FILE_APPEND);
} }
//TODO diese Funktion auch für Update benutzen?! bzw. sachen aus dem Update hier mit einbauen
private function parseMovie($Pfad, $Filename){ private function parseMovie($Pfad, $Filename){
/*TODO /*TODO
* FSK hinzufügen (siehe update) * FSK hinzufügen (siehe update)
......
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