From 478709641e55c9050f60c62e478c5d5279970efd Mon Sep 17 00:00:00 2001 From: Alib Date: Wed, 17 Mar 2010 14:57:37 +0100 Subject: added runningsession json --- bin/textfiles/getRunningSessions.txt | 20 ++++++++++++++++++++ js/istreamdev.js | 5 ++++- 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 bin/textfiles/getRunningSessions.txt 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('
  • ' + channel.number + '' + channel.name + '' + channel.now_title + '
  • '); }); - json_complete('#channels','slide'); + $("#chan_menu li:last a img").load(function () { + + json_complete('#channels','cube'); + }); }) } -- cgit v1.2.3