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

test

parent 036c0be5
......@@ -386,9 +386,9 @@ class Media {
$array["Genre"] = $imdb->getGenre();
$array["Schauspieler"] = $imdb->getCastAsOwn(0, false);
$Schauspieler = $imdb->getCastAsOwn(0, false);
$array["SchauspielerRole"] = $imdb->getCastAndCharacter(0, false);//ALT:$imdb->getCastAsOwn(0, false);
$array["Schauspieler"] = explode(">", str_replace("nm", "", $value3));
var_dump($array["Schauspieler"]);
exit;
......@@ -705,8 +705,8 @@ class Media {
$Schauspielers = explode(" / ", $value);
echo " Schauspieler anlegen... ";
foreach ($Schauspielers as $value3) {
$Schauspieler = explode(">", str_replace("nm", "", $value3));
$Querys[] = "INSERT INTO FilmSchauspieler (imdbID, schauspielerID) VALUES ('".$DataArr['imdbID']."', '".$this->getSchauspielerID($mysqli, $Schauspieler[1],$Schauspieler[0])."');";
//$Schauspieler = explode(">", str_replace("nm", "", $value3));
//$Querys[] = "INSERT INTO FilmSchauspieler (imdbID, schauspielerID) VALUES ('".$DataArr['imdbID']."', '".$this->getSchauspielerID($mysqli, $Schauspieler[1],$Schauspieler[0])."');";
// TODO Rolle Ergänzen!!!!!
}
echo "done".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