Commit a52a3522 authored by Nico Schallehn's avatar Nico Schallehn

test

parent edebb2d9
......@@ -447,7 +447,7 @@ class Media {
}
private function GenerateNFO($DataArr, $File){
$nfoFile = substr($File,0,strripos($File,".")).".nfo"; // Echte NFO Ausgabe Pfad
$nfoFile = str_replace("/media/QNAP/Filme", "/home/osmc/MediaDBPythonScripte/phpTestout/nfo", $nfoFile); // nur für Testausgaben drin....
//$nfoFile = str_replace("/media/QNAP/Filme", "/home/osmc/MediaDBPythonScripte/phpTestout/nfo", $nfoFile); // nur für Testausgaben drin....
$Query = "SELECT *,".
"(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".
......
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