Commit 38a1c893 authored by Nico Schallehn's avatar Nico Schallehn

test

parent e7d5e0a4
...@@ -380,7 +380,7 @@ class Media { ...@@ -380,7 +380,7 @@ class Media {
if(!file_exists($this->config["CoverDir"]."Staffeln/full/".$Film2["season_nr"].".jpg")){ if(!file_exists($this->config["CoverDir"]."Staffeln/full/".$Film2["season_nr"].".jpg")){
echo " Lade Cover (".$Film2["season_nr"].") von Markus ...."; echo " Lade Cover (".$Film2["season_nr"].") von Markus ....";
$url = "http://mediadb.ddns.net/cover/Staffeln/full/".$Film2["season_nr"].".jpg"; $url = "http://mediadb.ddns.net/cover/Staffeln/full/".$Film2["season_nr"].".jpg";
echo $url."<>wget ".$url." -O ".$this->config["CoverDir"].$Film["imdbID"].".jpg".PHP_EOL; echo "wget ".$url." -O ".$this->config["CoverDir"]."Staffeln/full/".$Film2["season_nr"].".jpg".PHP_EOL;
shell_exec("wget ".$url." -O ".$this->config["CoverDir"]."Staffeln/full/".$Film2["season_nr"].".jpg > /dev/null 2>&1"); //");// shell_exec("wget ".$url." -O ".$this->config["CoverDir"]."Staffeln/full/".$Film2["season_nr"].".jpg > /dev/null 2>&1"); //");//
if(file_exists($this->config["CoverDir"]."Staffeln/full/".$Film2["season_nr"].".jpg")){ if(file_exists($this->config["CoverDir"]."Staffeln/full/".$Film2["season_nr"].".jpg")){
echo "done".PHP_EOL; echo "done".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