summaryrefslogtreecommitdiff
path: root/smarttv-client/Javascript/Server.js
diff options
context:
space:
mode:
authorthlo <smarttv640@gmail.com>2013-03-03 21:42:04 +0100
committerthlo <t.lohmar@gmx.de>2013-03-03 21:42:04 +0100
commit026e7f57858e873f2f81ecd6c3fbe1ee0f0d7203 (patch)
tree370047071a9bf415580aa984e8186ed4acf8e18f /smarttv-client/Javascript/Server.js
parent65255cd25a87509c0a75c4e09ebd33977e54ed9c (diff)
downloadvdr-plugin-smarttvweb-026e7f57858e873f2f81ecd6c3fbe1ee0f0d7203.tar.gz
vdr-plugin-smarttvweb-026e7f57858e873f2f81ecd6c3fbe1ee0f0d7203.tar.bz2
Version 0.91.
Direct Channel Access added for Live and Channel Numbers. Folder Headlines. Cropped Picture Size.
Diffstat (limited to 'smarttv-client/Javascript/Server.js')
-rwxr-xr-xsmarttv-client/Javascript/Server.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/smarttv-client/Javascript/Server.js b/smarttv-client/Javascript/Server.js
index 0139582..ec969b8 100755
--- a/smarttv-client/Javascript/Server.js
+++ b/smarttv-client/Javascript/Server.js
@@ -43,6 +43,7 @@ Server.fetchVideoList = function(url) {
var fps = parseFloat($(this).find('fps').text());
var ispes = $(this).find('ispes').text();
var isnew = $(this).find('isnew').text();
+ var num = parseInt($(this).find('number').text());
// Main.log("Server.fetchVideoList: title= " + title + " start= " + startVal + " dur= " + durVal + " fps= " + fps);
if (Main.state == Main.eLIVE) {
@@ -51,7 +52,7 @@ Server.fetchVideoList = function(url) {
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});
+ dur: durVal, ispes : ispes, isnew : isnew, fps : fps, num : num});
}); // each