summaryrefslogtreecommitdiff
path: root/smarttv-client
diff options
context:
space:
mode:
Diffstat (limited to 'smarttv-client')
-rwxr-xr-xsmarttv-client/Javascript/Player.js1
-rwxr-xr-xsmarttv-client/Javascript/Server.js4
-rw-r--r--smarttv-client/Javascript/Urls.js6
3 files changed, 8 insertions, 3 deletions
diff --git a/smarttv-client/Javascript/Player.js b/smarttv-client/Javascript/Player.js
index 8521f92..5fd6990 100755
--- a/smarttv-client/Javascript/Player.js
+++ b/smarttv-client/Javascript/Player.js
@@ -518,6 +518,7 @@ Player.stopVideo = function() {
this.state = this.STOPPED;
Display.status("Stop");
+ Display.hideStatus();
Player.AVPlayerObj.hide();
try {
diff --git a/smarttv-client/Javascript/Server.js b/smarttv-client/Javascript/Server.js
index cfc1dd6..a141f5d 100755
--- a/smarttv-client/Javascript/Server.js
+++ b/smarttv-client/Javascript/Server.js
@@ -666,9 +666,7 @@ function execRestCmd(cmd, guid, args) {
var title_list = title.split("~");
Data.addItem( title_list, {link : link, prog: programme, desc: description, guid : guid, start: startVal,
dur: durVal, ispes : ispes, isnew : isnew, fps : fps, num : num});
-
- Display.showPopup("Server.updateEntry: addItem= " + title);
-
+
}); // each
Data.assets.sortPayload(Data.sortType);
diff --git a/smarttv-client/Javascript/Urls.js b/smarttv-client/Javascript/Urls.js
index f7c2e36..3df8f3e 100644
--- a/smarttv-client/Javascript/Urls.js
+++ b/smarttv-client/Javascript/Urls.js
@@ -54,9 +54,11 @@ UrlsFetcher.fetchUrls = function(url) {
},
error : function (jqXHR, status, error) {
Main.log("UrlsFetcher.fetchUrls Error Response - status= " + status + " error= "+ error);
+ Main.logToServer("UrlsFetcher.fetchUrls Error Response - status= " + status + " error= "+ error);
},
parsererror : function () {
Main.log("UrlsFetcher.fetchUrls parserError " );
+ Main.logToServer("UrlsFetcher.fetchUrls parserError " );
}
});
@@ -162,6 +164,7 @@ UrlsFetcher.getYtDescription = function (vid) {
},
error : function(jqXHR, status, error) {
Main.log("UrlsFetcher.getYtDescription: Error");
+ Main.logToServer("UrlsFetcher.getYtDescription: Error");
UrlsFetcher.handleResponse(false);
}
@@ -173,6 +176,7 @@ UrlsFetcher.getYtDescription = function (vid) {
UrlsFetcher.getYtVideoUrl = function (vid) {
Main.log("UrlsFetcher.getYtVideoUrl: vid= " + vid);
+ Main.logToServer("UrlsFetcher.getYtVideoUrl: vid= " + vid);
//Reset
UrlsFetcher.fv = "";
@@ -240,6 +244,7 @@ UrlsFetcher.extractYtUrl = function (vid) {
while (!ok) {
if (UrlsFetcher.preference[UrlsFetcher.curQuality] in UrlsFetcher.urls) {
+ Main.logToServer(" YT Url= " + UrlsFetcher.urls[UrlsFetcher.preference[UrlsFetcher.curQuality]]);
Player.setVideoURL(UrlsFetcher.urls[UrlsFetcher.preference[UrlsFetcher.curQuality]]);
ok = true;
Notify.showNotify("Quality: " + UrlsFetcher.qualities[UrlsFetcher.preference[UrlsFetcher.curQuality]], true);
@@ -248,6 +253,7 @@ UrlsFetcher.extractYtUrl = function (vid) {
UrlsFetcher.curQuality --;
if (UrlsFetcher.curQuality <0) {
Player.setVideoURL(UrlsFetcher.urls[UrlsFetcher.usable[0]]);
+ Main.logToServer(" YT Url= " + UrlsFetcher.urls[UrlsFetcher.preference[UrlsFetcher.curQuality]]);
Notify.showNotify("Quality: " + UrlsFetcher.qualities[UrlsFetcher.usable[0]], true);
ok = true;
}