Commit 62b35308 authored by Nico Schallehn's avatar Nico Schallehn

fsk bei hinzufügen eingebaut

parent ab57f840
......@@ -321,7 +321,7 @@ class Media {
* @param imdb
* @param fehler
* @return die FSK oder false
*/private function gibFSK($imdb, &$fehler) {
*/private function gibFSK($imdb, &$fehler = "") {
$fsktemp = $imdb->getCertification();
$fskbool= false;
......@@ -410,6 +410,7 @@ class Media {
$array["rating"] = $imdb->getRating();
$array["Genre"] = $imdb->getGenre();
$array["Schauspieler"] = $imdb->getCastAsOwn(0, false);
$array["fsk"] = $this->gibFSK ($imdb);
// TODO Summery und fsk und Youtube hinzufügen
} else{
echo $this->Console->error("imdbID nicht bei imdb gefunden!").PHP_EOL;
......
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