diff options
-rw-r--r-- | bin/textfiles/getRunningSessions.txt | 20 | ||||
-rw-r--r-- | js/istreamdev.js | 5 |
2 files changed, 24 insertions, 1 deletions
diff --git a/bin/textfiles/getRunningSessions.txt b/bin/textfiles/getRunningSessions.txt new file mode 100644 index 0000000..39b02c8 --- /dev/null +++ b/bin/textfiles/getRunningSessions.txt @@ -0,0 +1,20 @@ +{ + "broadcast": + [ + { + "session": "1", + "name": "TF1", + "type": "tv", + }, + { + "session": "2", + "name": "Turbo", + "type": "rec", + }, + { + "session": "3", + "name": "Movie.avi", + "type": "vid", + } + ] +} diff --git a/js/istreamdev.js b/js/istreamdev.js index 2000c83..53963bc 100644 --- a/js/istreamdev.js +++ b/js/istreamdev.js @@ -175,7 +175,10 @@ function gen_channels(category) { $.each(data.channel,function(i,channel){
$("#chan_menu").append('<li class="channellist"><a class="chan_but" href="#"><img src="logos/' + channel.name + '.png"/><small class="counter">' + channel.number + '</small><span class="name">' + channel.name + '</span><span class="comment">' + channel.now_title + '</span></a></li>');
});
- json_complete('#channels','slide');
+ $("#chan_menu li:last a img").load(function () {
+
+ json_complete('#channels','cube');
+ });
})
}
|