diff options
author | Alib <aliboba@free.fr> | 2010-03-17 18:37:21 +0100 |
---|---|---|
committer | Alib <aliboba@free.fr> | 2010-03-17 18:37:21 +0100 |
commit | c178fdfb5bd45e45e40af3aa969932af92e3287b (patch) | |
tree | 0e82ede835b18bc57d7d76828f7285ecc67a8908 /bin/jsonapi.php | |
parent | d425e7f9f8c7ffe40f133e99e1d6ca6c6fee9d80 (diff) | |
parent | 5a82ce8d05eb30148d8079aed01c503c73dd58d6 (diff) | |
download | istreamdev-c178fdfb5bd45e45e40af3aa969932af92e3287b.tar.gz istreamdev-c178fdfb5bd45e45e40af3aa969932af92e3287b.tar.bz2 |
Merge branch 'jquery' of projects.vdr-developer.org:istreamdev into jquery
Diffstat (limited to 'bin/jsonapi.php')
-rwxr-xr-x | bin/jsonapi.php | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/bin/jsonapi.php b/bin/jsonapi.php index dcc3dd4..eba9725 100755 --- a/bin/jsonapi.php +++ b/bin/jsonapi.php @@ -7,8 +7,8 @@ function getGlobals() $ret = array(); $ret['streamdev_server'] = $vdrstreamdev; $ret['rec_path'] = $vdrrecpath; - $ret['video_path'] = "/mnt/media/Video/"; - $ret['audio_path'] = "/mnt/media/Music/"; + $ret['video_path'] = "/home/storage/Foot/"; + $ret['audio_path'] = "/home/www/mp3/"; return json_encode($ret); } @@ -113,5 +113,12 @@ function getRunningSessions() } +function browseFolder($path) +{ + $ret = array(); + $ret['list'] = filesgetlisting($path); + + return json_encode($ret); +} ?> |