summaryrefslogtreecommitdiff
path: root/bin/backend.php
diff options
context:
space:
mode:
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;
}
?>