Commit aec816c6 authored by Nico Schallehn's avatar Nico Schallehn

test

parent 03844561
......@@ -438,6 +438,7 @@ class Media {
$array["year"] = $imdb->getYear();
$array["size"] = $this->getfileSize($Pfad.$FilenameOrg);
$array["rating"] = $imdb->getRating();
$array["Genre"] = $imdb->getGenre();
$array["Schauspieler"] = $imdb->getCastAsOwn(0, false);
$array["fsk"] = $this->gibFSK ($imdb,$array["imdbID"]);
......@@ -510,7 +511,7 @@ class Media {
}
echo " done!".PHP_EOL;
foreach ($array as $key => $value) {
if($value == 'n/A'){
if(($value == 'n/A') OR ($value == false)){
unset($array[$key]);
}
}
......
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