summaryrefslogtreecommitdiff
path: root/bin/backend.php
diff options
context:
space:
mode:
authorTheTroll <trolldev@gmail.com>2010-03-18 01:07:28 +0100
committerTheTroll <trolldev@gmail.com>2010-03-18 01:07:28 +0100
commitef0bc7bd8c304fe13b941d62ff07da33f5f49315 (patch)
tree5c77fe376d8195e4ce0aae033121a98cd3004733 /bin/backend.php
parent459abaa2386fd1935abf8b763aee046222b13a01 (diff)
downloadistreamdev-ef0bc7bd8c304fe13b941d62ff07da33f5f49315.tar.gz
istreamdev-ef0bc7bd8c304fe13b941d62ff07da33f5f49315.tar.bz2
Support audio streaming
Temporary video/audio sources
Diffstat (limited to 'bin/backend.php')
-rwxr-xr-xbin/backend.php16
1 files changed, 3 insertions, 13 deletions
diff --git a/bin/backend.php b/bin/backend.php
index 9be4b28..971629e 100755
--- a/bin/backend.php
+++ b/bin/backend.php
@@ -111,19 +111,9 @@ switch ($action)
print $tree;
break;
- case ("browseRec"):
- $tree = file_get_contents("textfiles/browseRec.txt");
- print $tree;
- break;
-
- case ("browseAudio"):
- $tree = file_get_contents("textfiles/browseAudio.txt");
- print $tree;
- break;
-
case ("streamAudio"):
- $tree = file_get_contents("textfiles/streamAudio.txt");
- print $tree;
- break;
+ $tree = streamAudio($_REQUEST['path'], $_REQUEST['file']);
+ print $tree;
+ break;
}
?>