summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTheTroll <trolldev@gmail.com>2010-03-28 18:23:44 +0200
committerTheTroll <trolldev@gmail.com>2010-03-28 18:23:44 +0200
commitcedc8bf53852d664ab6af8d7e8dbc8256bffe13d (patch)
tree3d777db8124979a22475ad66c7c1791d0e83ec27 /bin
parentbb0c755c9e803b1a767aff8ddc638477aa22d22d (diff)
downloadistreamdev-cedc8bf53852d664ab6af8d7e8dbc8256bffe13d.tar.gz
istreamdev-cedc8bf53852d664ab6af8d7e8dbc8256bffe13d.tar.bz2
fix
Diffstat (limited to 'bin')
-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);
}