Commit c0db30af authored by Nico Schallehn's avatar Nico Schallehn

md5 richtigen Pfad eingestellt

parent cdf214d1
......@@ -141,7 +141,8 @@ class Media {
$Endung = trim(substr($FilenameOrg,strripos( $FilenameOrg,".")+1));
//Was soll mit den geparsten Film gemacht werden?
if($action == "einlesen"){
if( $this->addMovie($array, (strlen($value[0])>0?$value[0].'/':'').$value[1], true)){
//$File = (($action == "einlesen")?$this->PfadzumEinlesen."/":$this->PfadzumAusgeben."Filme/").(strlen($value[0])>0?$value[0].'/':'').$value[1];
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