diff options
author | TheTroll <trolldev@gmail.com> | 2010-03-17 22:42:06 +0100 |
---|---|---|
committer | TheTroll <trolldev@gmail.com> | 2010-03-17 22:42:06 +0100 |
commit | d0640763e648d441510afeb5939106eb8d48731c (patch) | |
tree | f8542d1329646a3968ee8e6cf4640af103ee8aa6 /bin/jsonapi.php | |
parent | 56cb9c5e115fcf9f6e732d2b2cc95afff66c90ac (diff) | |
download | istreamdev-d0640763e648d441510afeb5939106eb8d48731c.tar.gz istreamdev-d0640763e648d441510afeb5939106eb8d48731c.tar.bz2 |
Timers WIP
Added getID3
Diffstat (limited to 'bin/jsonapi.php')
-rwxr-xr-x | bin/jsonapi.php | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/bin/jsonapi.php b/bin/jsonapi.php index 0f922c2..8f144d9 100755 --- a/bin/jsonapi.php +++ b/bin/jsonapi.php @@ -126,6 +126,24 @@ function getStreamStatus($session) return json_encode($ret); } +function getTimers() +{ + $ret = array(); + + $ret['timer'] = vdrlisttimers(); + + return json_encode($ret); +} + +function delTimer($id) +{ + $ret = vdrdeltimer($id); + + return json_encode($ret); +} + + + function getRunningSessions() { $ret = array(); |