Commit d79c5d57 authored by Nico Schallehn's avatar Nico Schallehn

test

parent 3a2601af
......@@ -85,13 +85,13 @@ foreach ($Notindexed as $value) {
//var_dump($resultArr);
if(strlen($resultArr["imdbID"])>0){
$comando = "mv '".$dir.$value[0]."/".$value[1]."' '".$dir.$value[0]."/".utf8_encode($resultArr["name"])." (".$resultArr["resolution"].") (".$resultArr["imdbID"].")".$endung."'";
$befehl = "mv '".$dir.$value[0]."/".$value[1]."' '".str_replace("HD-", "",$dir.$value[0])."/".utf8_encode($resultArr["name"])." (".$resultArr["resolution"].") (".$resultArr["imdbID"].")".$endung."'";
/*$comando = str_replace(" ", "\ ", $comando);
$comando = str_replace("(", "\(", $comando);
$comando = str_replace(") ", "\)", $comando);
*///
//echo $comando.PHP_EOL;
echo exec($comando);
echo $befehl.PHP_EOL;
//echo exec($befehl);
}
}
......
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