Commit 4400b710 authored by Nico Schallehn's avatar Nico Schallehn

MD5 beim einlesen aktiviert

parent 2169cfa8
......@@ -148,7 +148,7 @@ class Media {
$Endung = trim(substr($FilenameOrg,strripos( $FilenameOrg,".")+1));
//Was soll mit den geparsten Film gemacht werden?
if($action == "einlesen"){
if( $this->addMovie($array, $Pfad.$FilenameOrg, false)){ //TODO md5 muss auf true
if( $this->addMovie($array, $Pfad.$FilenameOrg, true)){
if(($Pfad.$FilenameOrg) == ($this->PfadzumAusgeben.($array["3d"]==""?$this->config["HDD"][$this->HDDID]["Filme"]:$this->config["HDD"][$this->HDDID]["3D"]).$Pfad.$array["name"]." (".$array["resolution"].")".($array["3d"] != ""?" (3D)":"")." (".$array["imdbID"].").".$Endung)){
echo "Datei liegt schon am ausgabe Ort!".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