|
|
@@ -1768,9 +1768,9 @@ function getSickrageCalendarHistory($array, $number)
|
|
|
"topTitle" => $seriesName,
|
|
|
"bottomTitle" => $bottomTitle,
|
|
|
"overview" => '',
|
|
|
- "runtime" => $child['series']['runtime'],
|
|
|
+ "runtime" => isset($child['series']['runtime']) ? $child['series']['runtime'] : 30,
|
|
|
"image" => $fanart,
|
|
|
- "ratings" => $child['series']['ratings']['value'],
|
|
|
+ "ratings" => isset($child['series']['ratings']['value']) ? $child['series']['ratings']['value'] : "unknown",
|
|
|
"videoQuality" => isset($child["quality"]) ? $child['quality'] : "unknown",
|
|
|
"audioChannels" => "",
|
|
|
"audioCodec" => "",
|