summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthlo <t.lohmar@gmx.de>2013-09-29 17:20:06 +0200
committerthlo <t.lohmar@gmx.de>2013-09-29 17:20:06 +0200
commit00f417ed7023b84f15b46ad7e8cd41e2bb98e392 (patch)
tree607bbe5b4897a6d2a9b6a90b4498c15427ccf4a8
parentaaa2ea1a1d576dcad5397e4bc650a0efcdd860a4 (diff)
downloadvdr-plugin-smarttvweb-00f417ed7023b84f15b46ad7e8cd41e2bb98e392.tar.gz
vdr-plugin-smarttvweb-00f417ed7023b84f15b46ad7e8cd41e2bb98e392.tar.bz2
Bug fix (method -> type).
-rwxr-xr-xsmarttv-client/Javascript/Server.js20
1 files changed, 10 insertions, 10 deletions
diff --git a/smarttv-client/Javascript/Server.js b/smarttv-client/Javascript/Server.js
index f976f9d..cfc1dd6 100755
--- a/smarttv-client/Javascript/Server.js
+++ b/smarttv-client/Javascript/Server.js
@@ -432,7 +432,7 @@ function execRestCmd(cmd, guid, args) {
this.cmd = cmd;
this.parms.url =Config.serverUrl + "/addTimer.xml?guid="+this.guid;
- this.parms.method = "GET";
+ this.parms.type = "GET";
// this.parms.timeout = 500;
this.parms.success = function(data, status, XHR ) {
@@ -448,7 +448,7 @@ function execRestCmd(cmd, guid, args) {
this.cmd = cmd;
this.parms.url =Config.serverUrl + "/deleteFile?guid=" +this.guid;
- this.parms.method = "GET";
+ this.parms.type = "GET";
// this.parms.timeout = 500;
var img_name = this.guid.split("/");
@@ -487,7 +487,7 @@ function execRestCmd(cmd, guid, args) {
this.cmd = cmd;
this.parms.url =Config.serverUrl + "/deleteYtUrl?guid=" +guid;
- this.parms.method = "POST";
+ this.parms.type = "POST";
// this.parms.timeout = 500;
this.parms.success = function(data, status, XHR ) {
@@ -510,7 +510,7 @@ function execRestCmd(cmd, guid, args) {
this.cmd = cmd;
this.parms.url =Config.serverUrl + "/deleteRecording.xml?id=" +guid;
- this.parms.method = "POST";
+ this.parms.type = "POST";
// this.parms.timeout = 500;
this.parms.success = function(data, status, XHR ) {
@@ -533,7 +533,7 @@ function execRestCmd(cmd, guid, args) {
this.cmd = cmd;
this.parms.url =Config.serverUrl + "/setResume.xml?guid=" +guid + "&resume=" + (Player.curPlayTime/1000);
- this.parms.method = "POST";
+ this.parms.type = "POST";
// this.parms.timeout = 1000;
Notify.showNotify( "Set resume to " + Display.durationString(Player.curPlayTime/1000), true);
@@ -551,7 +551,7 @@ function execRestCmd(cmd, guid, args) {
this.cmd = cmd;
this.parms.url =Config.serverUrl + "/getResume.xml?guid=" +guid;
- this.parms.method = "POST";
+ this.parms.type = "POST";
this.parms.timeout = 500;
this.parms.success = function(data, status, XHR ) {
@@ -589,7 +589,7 @@ function execRestCmd(cmd, guid, args) {
this.cmd = cmd;
this.parms.url = Config.serverUrl + "/execreccmd?cmd="+this.args.cmd+"&guid=" + guid;
- this.parms.method = "GET";
+ this.parms.type = "GET";
// this.parms.timeout = 500;
this.parms.success = function(data, status, XHR ) {
@@ -605,7 +605,7 @@ function execRestCmd(cmd, guid, args) {
this.cmd = cmd;
this.parms.url = Config.serverUrl + "/activateTimer?index=" +guid + "&activate=" + ((this.args.setActive == true) ? "true" : "false"),
- this.parms.method = "GET";
+ this.parms.type = "GET";
this.parms.timeout = 500;
this.parms.success = function(data, status, XHR ) {
@@ -623,7 +623,7 @@ function execRestCmd(cmd, guid, args) {
this.cmd = cmd;
this.parms.url = Config.serverUrl + "/deleteTimer?index=" +guid,
- this.parms.method = "GET";
+ this.parms.type = "GET";
// this.parms.timeout = 500;
this.parms.success = function(data, status, XHR ) {
@@ -643,7 +643,7 @@ function execRestCmd(cmd, guid, args) {
this.cmd = cmd;
this.parms.url = Config.serverUrl + "/recordings.xml?guid="+guid,
- this.parms.method = "GET";
+ this.parms.type = "GET";
this.retries = 0;
this.parms.success = function(data, status, XHR ) {