summaryrefslogtreecommitdiff
path: root/bin/jsonapi.php
diff options
context:
space:
mode:
Diffstat (limited to 'bin/jsonapi.php')
-rwxr-xr-xbin/jsonapi.php11
1 files changed, 11 insertions, 0 deletions
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);
+
+}
+
+
?>