summaryrefslogtreecommitdiff
path: root/bin/backend.php
diff options
context:
space:
mode:
authorAlib <aliboba@free.fr>2010-03-16 01:28:39 +0100
committerAlib <aliboba@free.fr>2010-03-16 01:28:39 +0100
commitd1f8c381b7aabba27d261274548fa5b51e3dcc94 (patch)
treebca5abf41bbda01dce58872dd79a1bf41e589c9e /bin/backend.php
parent438912c0c4a4075a5cd74cf9689451c9df4bbe34 (diff)
downloadistreamdev-d1f8c381b7aabba27d261274548fa5b51e3dcc94.tar.gz
istreamdev-d1f8c381b7aabba27d261274548fa5b51e3dcc94.tar.bz2
audio stream in progress
Diffstat (limited to 'bin/backend.php')
-rw-r--r--bin/backend.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/bin/backend.php b/bin/backend.php
index 54e0058..b2c41b3 100644
--- a/bin/backend.php
+++ b/bin/backend.php
@@ -105,9 +105,16 @@ switch ($action)
if ( $path == "/video/" ) {
$tree = file_get_contents("textfiles/browseFolder-rec.txt");
}
- else {
+ else if ( $path == "/mnt/media/Videos/" ) {
$tree = file_get_contents("textfiles/browseFolder-vid.txt");
}
+ else if ( $path == "/mnt/media/Music/" ) {
+ $tree = file_get_contents("textfiles/browseFolder-aud.txt");
+ }
+ else
+ {
+ $tree = file_get_contents("textfiles/browseFolder-rec.txt");
+ }
print $tree;
break;