Commit f6b001ee authored by Nico Schallehn's avatar Nico Schallehn

tst

parent fcf3f0d8
......@@ -58,7 +58,7 @@ foreach ($Notindexed as $value) {
else if(strpos($value[1], "(1080p)")){
$resolution = "1080p";
}
if(strpos($value[1], "(3D)")){
if(strpos($dir.$value[0]."/".$value[1], "3D")){
$dreiD = true;
}
if(strlen(substr($value[1],0,strpos($value[1], "("))) > 0){
......@@ -85,7 +85,7 @@ foreach ($Notindexed as $value) {
//var_dump($resultArr);
if(strlen($resultArr["imdbID"])>0){
$befehl = "mv '".$dir.$value[0]."/".$value[1]."' '".str_replace("3DHD-Filme", "Filme3D",$dir.$value[0])."/".utf8_encode($resultArr["name"])." (".$resultArr["resolution"].") (".$resultArr["imdbID"].")".$endung."'";
$befehl = "mv '".$dir.$value[0]."/".$value[1]."' '".str_replace("3DHD-Filme", "Filme3D",$dir.$value[0])."/".utf8_encode($resultArr["name"]).($dreiD?" (3D)":"")." (".$resultArr["resolution"].") (".$resultArr["imdbID"].")".$endung."'";
/*$comando = str_replace(" ", "\ ", $comando);
$comando = str_replace("(", "\(", $comando);
$comando = str_replace(") ", "\)", $comando);
......
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