Commit 6f16fa49 authored by Nico Schallehn's avatar Nico Schallehn

debug

parent e5216229
......@@ -868,8 +868,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;
//exit;
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"]);
......@@ -977,7 +977,7 @@ class Media {
$co.= 'http://www.imdb.com/title/tt'.$Film['imdbID'].'/'.PHP_EOL;
file_put_contents($nfoFile, $co);
echo " Done!!".PHP_EOL;
exit;
//exit;
}
}
......
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