Commit e7d5e0a4 authored by Nico Schallehn's avatar Nico Schallehn

test

parent c49e7c3c
......@@ -378,9 +378,9 @@ class Media {
shell_exec("rm ".$this->config["CoverDir"]."Staffeln/full/*");
while ($Film2 = $result->fetch_assoc()){
if(!file_exists($this->config["CoverDir"]."Staffeln/full/".$Film2["season_nr"].".jpg")){
echo " Lade Cover (".$Film2["series_nr"].") von Markus ....";
echo " Lade Cover (".$Film2["season_nr"].") von Markus ....";
$url = "http://mediadb.ddns.net/cover/Staffeln/full/".$Film2["season_nr"].".jpg";
//echo $url."<>wget ".$url." -O ".$this->config["CoverDir"].$Film["imdbID"].".jpg";
echo $url."<>wget ".$url." -O ".$this->config["CoverDir"].$Film["imdbID"].".jpg".PHP_EOL;
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")){
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