Commit 1e7d2c69 authored by Nico Schallehn's avatar Nico Schallehn

test

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