summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--index.html3
-rw-r--r--settings.js4
2 files changed, 4 insertions, 3 deletions
diff --git a/index.html b/index.html
index 88fef0e..5275a7e 100644
--- a/index.html
+++ b/index.html
@@ -764,7 +764,7 @@ function onKeyDown(event) {
SI=channels[currChan].split("-");
recordStart(SI[4]);
} else {
- recordStart = (ServerAdres[ChanGroup] + channels[currChan]);
+ recordStart(ServerAdres[ChanGroup] + channels[currChan]);
}
}
break;
@@ -2289,6 +2289,7 @@ try {
function setResume() {
try {
+ position = position + (mediaPlayer.getPosition()/1000)
var xmlhttp = new XMLHttpRequest();
xmlhttp.open("POST", recServ + "/setResume.xml?guid=" + recGUID[currMed] + "&resume=" + position, false);
xmlhttp.send();
diff --git a/settings.js b/settings.js
index 21d2f2e..962f10b 100644
--- a/settings.js
+++ b/settings.js
@@ -11,7 +11,7 @@ var Yfactor = 720 / 576;
var server_ip = "http://192.168.3.15";
var StartVolume = 15; // Volume on (re)start of the portal.
-var currChan = 10; // default channel
+var currChan = 9051; // default channel
//
//
@@ -62,7 +62,7 @@ ServerAdres[6] = server_ip + ":3000/";
// TV channels.js Settings
minChan[0] = 1;
-defChan[0] = currChan;
+defChan[0] = 10;
baseChn[0] = 0;
protChn[0] = 0;
ServerAdres[0] = server_ip + ":3000/";