diff options
author | TheTroll <trolldev@gmail.com> | 2010-03-17 23:33:19 +0100 |
---|---|---|
committer | TheTroll <trolldev@gmail.com> | 2010-03-17 23:33:19 +0100 |
commit | 228e192f64c073afe8e3cd1523d0a975dcf26557 (patch) | |
tree | f4fd5c9d5372c2783f17a50d37d49bc93e5ff02b /bin/jsonapi.php | |
parent | d0640763e648d441510afeb5939106eb8d48731c (diff) | |
download | istreamdev-228e192f64c073afe8e3cd1523d0a975dcf26557.tar.gz istreamdev-228e192f64c073afe8e3cd1523d0a975dcf26557.tar.bz2 |
Added timers edition/deletion
Diffstat (limited to 'bin/jsonapi.php')
-rwxr-xr-x | bin/jsonapi.php | 5 |
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() { |