diff options
author | TheTroll <trolldev@gmail.com> | 2010-03-18 01:07:28 +0100 |
---|---|---|
committer | TheTroll <trolldev@gmail.com> | 2010-03-18 01:07:28 +0100 |
commit | ef0bc7bd8c304fe13b941d62ff07da33f5f49315 (patch) | |
tree | 5c77fe376d8195e4ce0aae033121a98cd3004733 /bin/backend.php | |
parent | 459abaa2386fd1935abf8b763aee046222b13a01 (diff) | |
download | istreamdev-ef0bc7bd8c304fe13b941d62ff07da33f5f49315.tar.gz istreamdev-ef0bc7bd8c304fe13b941d62ff07da33f5f49315.tar.bz2 |
Support audio streaming
Temporary video/audio sources
Diffstat (limited to 'bin/backend.php')
-rwxr-xr-x | bin/backend.php | 16 |
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; } ?> |