Commit a0998c7c authored by Nico Schallehn's avatar Nico Schallehn

test

parent 595278f8
...@@ -838,7 +838,9 @@ class Media { ...@@ -838,7 +838,9 @@ class Media {
if(isset($fanart["moviebackground"][0]["url"])){ if(isset($fanart["moviebackground"][0]["url"])){
$url = $fanart["moviebackground"][0]["url"]; $url = $fanart["moviebackground"][0]["url"];
shell_exec("wget ".$url." -O ".$this->config["CoverDir"]."Filme/background/".$Film["imdbID"].".jpg > /dev/null 2>&1"); shell_exec("wget ".$url." -O ".$this->config["CoverDir"]."Filme/background/".$Film["imdbID"].".jpg > /dev/null 2>&1");
echo "done !".PHP_EOL; echo "done!".PHP_EOL;
}else{
echo "fail!".PHP_EOL;
} }
//echo "http://webservice.fanart.tv/v3/movies/tt".$Film["imdbID"]."?api_key=".$this->config["ApiKeys"]["Fanart_Key"].PHP_EOL; //echo "http://webservice.fanart.tv/v3/movies/tt".$Film["imdbID"]."?api_key=".$this->config["ApiKeys"]["Fanart_Key"].PHP_EOL;
......
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