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