Commit 30cb0c67 authored by Nico Schallehn's avatar Nico Schallehn

test

parent 7813cb5f
......@@ -783,9 +783,9 @@ class Media {
file_put_contents("./phpTestout/imdbID/".$array["imdbID"].".txt", "Keine Infos auf TMDB gefunden: ".$Pfad.$FilenameOrg.PHP_EOL, FILE_APPEND);
return false; //TODO Abbruch wenn keine Daten auf TMDB gefunden
}
/*if(!(strpos($Pfad.$FilenameOrg, "Märchen") == false)){
if(!(strpos($Pfad.$FilenameOrg, "Märchen") == false)){
$array["collection"] = "Märchen";
}*/
}
} else{
echo $this->Console->error("imdbID (".$array["imdbID"].") nicht bei imdb gefunden!").PHP_EOL;
file_put_contents("./phpTestout/imdbID/".$array["imdbID"].".txt", "Keine Infos auf imdbID gefunden: ".$Pfad.$FilenameOrg.PHP_EOL, FILE_APPEND);
......@@ -796,13 +796,12 @@ class Media {
if(($minimal =="checkfile") OR ($minimal =="einlesen")){
// werte von MediaInfo holen...
echo " Hole Daten von mediainfo... ";
$array = $this->gibMediaInfo($Pfad.$FilenameOrg,$array);
$this->gibMediaInfo($Pfad.$FilenameOrg,$array);
echo " done!".PHP_EOL;
}
}
var_dump($array);
exit;
foreach ($array as $key => $value) {
if((($value == 'n/A') OR ($value == false)) AND !($Key = '3d')){
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