Commit d681a924 authored by Nico Schallehn's avatar Nico Schallehn

test

parent 4c6f4bba
......@@ -563,7 +563,7 @@ class Media {
echo $url3.PHP_EOL;
$tmdb3 = $this->jsonCacheDecoder($url3);
foreach ($tmdb3["episodes"] as $key => $value) {
if($key == intval($array["episodenumber"])){
if($key == (intval($array["episodenumber"])-1)){
$array["name"] = $value["name"];
echo $array["name"];
//var_dump($value);
......
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