Commit 4fd1fb7b authored by Nico Schallehn's avatar Nico Schallehn

Dokumentation hinzugefügt (als collection)

parent bd11cfe8
...@@ -812,6 +812,9 @@ class Media { ...@@ -812,6 +812,9 @@ class Media {
if(!(strpos($Pfad.$FilenameOrg, "Märchen") == false)){ if(!(strpos($Pfad.$FilenameOrg, "Märchen") == false)){
$array["collection"] = "Märchen"; $array["collection"] = "Märchen";
} }
if(!(strpos($Pfad.$FilenameOrg, "Dokumentation") == false)){
$array["collection"] = "Dokumentation";
}
} else{ } else{
echo $this->Console->error("imdbID (".$array["imdbID"].") nicht bei imdb gefunden!").PHP_EOL; 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); file_put_contents("./phpTestout/imdbID/".$array["imdbID"].".txt", "Keine Infos auf imdbID gefunden: ".$Pfad.$FilenameOrg.PHP_EOL, FILE_APPEND);
......
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