Commit 66bb250c authored by Nico Schallehn's avatar Nico Schallehn

test

parent 62117f76
...@@ -522,7 +522,7 @@ class Media { ...@@ -522,7 +522,7 @@ class Media {
} }
private function GenerateNFO($DataArr, $File){ private function GenerateNFO($DataArr, $File){
$nfoFile = substr($File,0,strripos($File,".")).".nfo"; // Echte NFO Ausgabe Pfad $nfoFile = substr($File,0,strripos($File,".")).".nfo"; // Echte NFO Ausgabe Pfad
$mediaDBurl = "http://mediadb.ivaya.de/api.php?key=".$this->config["ApiKeys"]['Fanart_Key']."&action=GetDataList&Tabelle=Filme&Spalten=imdbID,name,views,lastView,Genre,Schauspieler&imdbID=".$DataArr["imdbID"]; $mediaDBurl = "http://mediadb.ivaya.de/api.php?key=".$this->config["ApiKeys"]['MediaDB_Key']."&action=GetDataList&Tabelle=Filme&Spalten=imdbID,name,views,lastView,Genre,Schauspieler&imdbID=".$DataArr["imdbID"];
echo $mediaDBurl.PHP_EOL; echo $mediaDBurl.PHP_EOL;
$mediaDB = $this->jsonCacheDecoder($mediaDBurl); $mediaDB = $this->jsonCacheDecoder($mediaDBurl);
$nfoFile = str_replace("/media/QNAP/Filme", "./phpTestout", $nfoFile); // nur für Testausgaben drin.... $nfoFile = str_replace("/media/QNAP/Filme", "./phpTestout", $nfoFile); // nur für Testausgaben drin....
......
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