Commit abfd6f0c authored by Nico Schallehn's avatar Nico Schallehn

test

parent e53e099e
......@@ -556,8 +556,6 @@ class Media {
$DataArray["collection"] = str_replace(":", "", $DataArray["collection"]);
$DataArray["collection"] = str_replace("Reihe", "", $DataArray["collection"]);
$DataArray["collection"] = str_replace("/", "", $DataArray["collection"]);
$DataArray["collection"] = str_replace("Immer Ärger mit 40", "", $DataArray["collection"]);
$DataArray["collection"] = str_replace("Immer Ärger mit 40", "", $DataArray["collection"]);
$DataArray["collection"] = str_replace("()", "o", $DataArray["collection"]);
$DataArray["collection"] = str_replace("(Animiert)", "", $DataArray["collection"]);
$DataArray["collection"] = str_replace("Collection", "", $DataArray["collection"]);
......@@ -844,7 +842,8 @@ class Media {
"(SELECT GROUP_CONCAT( g.gername SEPARATOR '|' ) FROM FilmGenre fg JOIN Genre g ON g.genreID = fg.genreID WHERE fg.imdbID = '".$DataArr['imdbID']."' ) AS Genre,".
"(SELECT GROUP_CONCAT(s.name SEPARATOR '|') FROM FilmSchauspieler fs JOIN Schauspieler s ON s.schauspielerID = fs.schauspielerID WHERE fs.imdbID = '".$DataArr['imdbID']."' ) AS Schauspieler".
" FROM Filme WHERE imdbID = '".$DataArr['imdbID']."' AND 3d ".(!($DataArr['3d']=="")?"!=":"=").'""';
//echo $Query.PHP_EOL;
echo $Query.PHP_EOL;
exit;
echo "Generiere NFO Datei für ".$DataArr['imdbID']." ...";
$mysqli = new mysqli($this->config["DB_Server"],$this->config["DB_Username"],$this->config["DB_Passwort"],$this->config["DB_Database"]);
......
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