summaryrefslogtreecommitdiff
path: root/bin/jsonapi.php
diff options
context:
space:
mode:
authorTheTroll <trolldev@gmail.com>2010-03-17 23:33:19 +0100
committerTheTroll <trolldev@gmail.com>2010-03-17 23:33:19 +0100
commit228e192f64c073afe8e3cd1523d0a975dcf26557 (patch)
treef4fd5c9d5372c2783f17a50d37d49bc93e5ff02b /bin/jsonapi.php
parentd0640763e648d441510afeb5939106eb8d48731c (diff)
downloadistreamdev-228e192f64c073afe8e3cd1523d0a975dcf26557.tar.gz
istreamdev-228e192f64c073afe8e3cd1523d0a975dcf26557.tar.bz2
Added timers edition/deletion
Diffstat (limited to 'bin/jsonapi.php')
-rwxr-xr-xbin/jsonapi.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/jsonapi.php b/bin/jsonapi.php
index 8f144d9..d4f96ac 100755
--- a/bin/jsonapi.php
+++ b/bin/jsonapi.php
@@ -142,7 +142,12 @@ function delTimer($id)
return json_encode($ret);
}
+function editTimer($id, $name, $active, $channumber, $date, $starttime, $endtime)
+{
+ $ret = vdrsettimer($id, $channumber, $date, $starttime, $endtime, $name, $active);
+ return json_encode($ret);
+}
function getRunningSessions()
{