Commit 7a8fc926 authored by Nico Schallehn's avatar Nico Schallehn

test

parent 119ec5a1
......@@ -167,10 +167,12 @@ class Media {
//var_dump($imdb->getAll());
$array["year"] = $imdb->getYear();
$array["size"] = $this->getfileSize($Pfad.$FilenameOrg);
/*echo "Berechne MD5...";
$array["md5"] = md5_file($Pfad.$FilenameOrg); //TODO Einkommentieren für md5
echo "done!".PHP_EOL;*/
$array["md5"] = md5_file("/tmp/".$array["imdbID"].".xml");
echo "Berechne MD5...";
//$array["md5"] = md5_file($Pfad.$FilenameOrg); //TODO Einkommentieren für md5
$array["md5"] = substr(shell_exec('md5sum -b "'.$Pfad.$FilenameOrg.'"'),0,32);
echo "done!".PHP_EOL;
//$array["md5"] = md5_file("/tmp/".$array["imdbID"].".xml");
$array["rating"] = $imdb->getRating();
$array["Genre"] = $imdb->getGenre();
$array["Schauspieler"] = $imdb->getCastAsOwn(0, false);
......
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