From ef0bc7bd8c304fe13b941d62ff07da33f5f49315 Mon Sep 17 00:00:00 2001 From: TheTroll Date: Thu, 18 Mar 2010 01:07:28 +0100 Subject: Support audio streaming Temporary video/audio sources --- bin/backend.php | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) (limited to 'bin/backend.php') 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; } ?> -- cgit v1.2.3