From 228e192f64c073afe8e3cd1523d0a975dcf26557 Mon Sep 17 00:00:00 2001 From: TheTroll Date: Wed, 17 Mar 2010 23:33:19 +0100 Subject: Added timers edition/deletion --- bin/jsonapi.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'bin/jsonapi.php') 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() { -- cgit v1.2.3