Commit 8db84aba authored by Nico Schallehn's avatar Nico Schallehn

Debug hinzugefügt

parent 3b9a004a
......@@ -702,7 +702,7 @@ class Media {
$array["SerienName"] = $tmdb["tv_results"][0]["name"];
$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 PHP_EOL." URL: ".$url3.PHP_EOL;
$tmdb3 = $this->jsonCacheDecoder($url3);
foreach ($tmdb3["episodes"] as $key => $value) {
if($key == (intval($array["episodenumber"])-1)){
......
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