summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/jsonapi.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/jsonapi.php b/bin/jsonapi.php
index d50c762..2254c2e 100755
--- a/bin/jsonapi.php
+++ b/bin/jsonapi.php
@@ -3,7 +3,7 @@
function getGlobals()
{
global $vdrstreamdev, $vdrrecpath, $mediasource, $videosource, $audiosource;
- global $enablevdr, $enablemediavideo, $enablemediaaudio;
+ global $enablevdr, $enablemediavideo, $enablemediaaudio, $vdrepgmaxdays;
$ret = array();
if ($enablevdr)
@@ -19,6 +19,7 @@ function getGlobals()
$ret['audio_path'] = $audiosource;
else
$ret['audio_path'] = "";
+ $ret['epg_maxdays'] = $vdrepgmaxdays;
return json_encode($ret);
}