From 1012e0af0746ed8aee4fe4a372020758ea87ffdf Mon Sep 17 00:00:00 2001 From: TheTroll Date: Wed, 17 Mar 2010 16:36:14 +0100 Subject: Show running sessions --- bin/jsonapi.php | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'bin/jsonapi.php') diff --git a/bin/jsonapi.php b/bin/jsonapi.php index 10040cb..ffcc9e6 100755 --- a/bin/jsonapi.php +++ b/bin/jsonapi.php @@ -100,4 +100,15 @@ function getStreamStatus($session) return json_encode($ret); } +function getRunningSessions() +{ + $ret = array(); + + $ret['broadcast'] = sessiongetlist(); + + return json_encode($ret); + +} + + ?> -- cgit v1.2.3