summaryrefslogtreecommitdiff
path: root/bin/backend.php
diff options
context:
space:
mode:
Diffstat (limited to 'bin/backend.php')
-rwxr-xr-xbin/backend.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/backend.php b/bin/backend.php
index 706dd91..ad72df7 100755
--- a/bin/backend.php
+++ b/bin/backend.php
@@ -100,6 +100,15 @@ switch ($action)
$tree = streamAudio($_REQUEST['path'], $_REQUEST['file']);
print $tree;
break;
+
+ case ("getEpg"):
+ $tree = getEpg($_REQUEST['channel'], $_REQUEST['time'], $_REQUEST['day'], $_REQUEST['programs']);
+ print $tree;
+ break;
+ case ("getEpgInfo"):
+ $tree = getEpgInfo($_REQUEST['channel'], $_REQUEST['time'], $_REQUEST['day']);
+ print $tree;
+ break;
}
?>