Commit fa802aec authored by Nico Schallehn's avatar Nico Schallehn

test

parent 06f1fc4b
...@@ -558,8 +558,12 @@ class Media { ...@@ -558,8 +558,12 @@ class Media {
$url3="https://api.themoviedb.org/3/tv/".$tmdb["tv_results"][0]["id"]."/season/".$array["Season"]."?api_key=".$this->config["ApiKeys"]['Tmdb_Key']."&language=de"; $url3="https://api.themoviedb.org/3/tv/".$tmdb["tv_results"][0]["id"]."/season/".$array["Season"]."?api_key=".$this->config["ApiKeys"]['Tmdb_Key']."&language=de";
echo $url3.PHP_EOL; echo $url3.PHP_EOL;
$tmdb3 = $this->jsonCacheDecoder($url3); $tmdb3 = $this->jsonCacheDecoder($url3);
var_dump($tmdb3); foreach ($tmdb3["episodes"] as $key => $value) {
exit; if($key == $array["Episode"]){
var_dump($value);
exit;
}
}
} }
......
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