Commit 17b58b95 authored by Nico Schallehn's avatar Nico Schallehn

key Variable für Fanart gesetzt

parent 77b0bf2b
......@@ -1368,7 +1368,7 @@ class Media {
echo " Lade Cover von fanart.tv ....";
//if(filesize($this->config["CoverDir"]."Filme/full/".$Film["imdbID"].".jpg")==0){
$fanart = $this->jsonCacheDecoder("http://webservice.fanart.tv/v3/movies/tt".$value["imdbID"]."?api_key=".Fanart_Key);
$fanart = $this->jsonCacheDecoder("http://webservice.fanart.tv/v3/movies/tt".$value["imdbID"]."?api_key=".$this->config["ApiKeys"]['Fanart_Key']);
if(isset($fanart["movieposter"][0]["url"])) {
$posterURL = $fanart["movieposter"][0]["url"];
......
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