summaryrefslogtreecommitdiff
path: root/bin/jsonapi.php
diff options
context:
space:
mode:
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()
{