summaryrefslogtreecommitdiff
path: root/js/istreamdev.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/istreamdev.js')
-rw-r--r--js/istreamdev.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/istreamdev.js b/js/istreamdev.js
index ae823d1..196d9eb 100644
--- a/js/istreamdev.js
+++ b/js/istreamdev.js
@@ -309,7 +309,7 @@ function gen_streamchannel(channame,channumber) {
}
function gen_streamrec(folder,path) {
- var dataString = "action=getRecInfo&rec=" + encodeURIComponent(path) + encodeURIComponent(folder);
+ var dataString = "action=getRecInfo&rec=" + encodeURIComponent(path) + "/" + encodeURIComponent(folder);
//Json call to get rec info
$.getJSON("bin/backend.php",
dataString,
@@ -327,7 +327,7 @@ function gen_streamrec(folder,path) {
}
function gen_streamvid(filename,path) {
- var dataString = "action=getVidInfo&file=" + encodeURIComponent(path) + encodeURIComponent(filename);
+ var dataString = "action=getVidInfo&file=" + encodeURIComponent(path) + "/" + encodeURIComponent(filename);
//Json call to get rec info
$.getJSON("bin/backend.php",
dataString,
@@ -484,7 +484,7 @@ $('ul[rel="filelist"] li[class="arrow"] a').tap(function(event) {
browser++;
if ( type == "folder" )
{
- newpath=path+name;
+ newpath=path+"/"+name;
gen_browser(newpath,browser,name,foldertype);
}
else if ( type == "rec" )
@@ -831,4 +831,4 @@ function epg_selectchan() {
alert(selectedchan);
}
-// [/EPG SECTION] \ No newline at end of file
+// [/EPG SECTION]