mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-01 09:51:22 +02:00
yweb: speed up LiveTV
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@464 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -25,7 +25,7 @@ function do_onload(){
|
|||||||
change_button_img('udp',"udp_switch_off");
|
change_button_img('udp',"udp_switch_off");
|
||||||
else if(Mode == "tv")
|
else if(Mode == "tv")
|
||||||
change_button_img('udp',"udp_switch_on");
|
change_button_img('udp',"udp_switch_on");
|
||||||
window.setTimeout("do_init()",300);
|
window.setTimeout("do_init()",100);
|
||||||
}
|
}
|
||||||
function do_onresize(){
|
function do_onresize(){
|
||||||
if((vlc_width+Window_delta_w != window.innerWidth) || (vlc_height+Window_delta_h != window.innerHeight)){
|
if((vlc_width+Window_delta_w != window.innerWidth) || (vlc_height+Window_delta_h != window.innerHeight)){
|
||||||
@@ -57,8 +57,8 @@ function do_resize(){
|
|||||||
}
|
}
|
||||||
function do_init(){
|
function do_init(){
|
||||||
live_switchto(Mode);
|
live_switchto(Mode);
|
||||||
vlc_width = 384;
|
// vlc_width = 384;
|
||||||
vlc_height = 288;
|
// vlc_height = 288;
|
||||||
Window_delta_w = yClientWidth() - vlc_width;
|
Window_delta_w = yClientWidth() - vlc_width;
|
||||||
Window_delta_h = yClientHeight() - vlc_height;
|
Window_delta_h = yClientHeight() - vlc_height;
|
||||||
|
|
||||||
@@ -73,7 +73,7 @@ function do_init(){
|
|||||||
}
|
}
|
||||||
function i_interval(){
|
function i_interval(){
|
||||||
obj_update('bouquets_div', "<img src=\"/images/smallwait.gif\"/> "+Lgetting_bouquets);
|
obj_update('bouquets_div', "<img src=\"/images/smallwait.gif\"/> "+Lgetting_bouquets);
|
||||||
window.setTimeout("i_interval2()",300);
|
window.setTimeout("i_interval2()",100);
|
||||||
}
|
}
|
||||||
function i_interval2(){
|
function i_interval2(){
|
||||||
build_bouquet_list(-1);
|
build_bouquet_list(-1);
|
||||||
@@ -237,7 +237,7 @@ function change_channel(){
|
|||||||
channel = dd[sel].value;
|
channel = dd[sel].value;
|
||||||
do_stop();
|
do_stop();
|
||||||
AudioChannel = 0;
|
AudioChannel = 0;
|
||||||
window.setTimeout("change_channel_zapto(\""+channel+"\")",500);
|
window.setTimeout("change_channel_zapto(\""+channel+"\")",100);
|
||||||
}
|
}
|
||||||
function change_sub_channel(){
|
function change_sub_channel(){
|
||||||
var dd = id('subs');
|
var dd = id('subs');
|
||||||
@@ -247,7 +247,7 @@ function change_sub_channel(){
|
|||||||
channel = dd[sel].value;
|
channel = dd[sel].value;
|
||||||
do_stop();
|
do_stop();
|
||||||
AudioChannel = 0;
|
AudioChannel = 0;
|
||||||
window.setTimeout("change_channel_zapto(\""+channel+"\")",500);
|
window.setTimeout("change_channel_zapto(\""+channel+"\")",100);
|
||||||
}
|
}
|
||||||
function change_channel_zapto(channel){
|
function change_channel_zapto(channel){
|
||||||
dbox_zapto(channel);
|
dbox_zapto(channel);
|
||||||
@@ -314,7 +314,7 @@ function doChangeAudioPid(){
|
|||||||
AudioChannel = dd.selectedIndex;
|
AudioChannel = dd.selectedIndex;
|
||||||
do_stop();
|
do_stop();
|
||||||
// insert_message_control("... zapping ...");
|
// insert_message_control("... zapping ...");
|
||||||
window.setTimeout("change_channel_play()",1000);
|
window.setTimeout("change_channel_play()",100);
|
||||||
}
|
}
|
||||||
function build_audio_pid_list(){
|
function build_audio_pid_list(){
|
||||||
var audio_pids_url = "/y/cgi?execute=func:get_audio_pids_as_dropdown";
|
var audio_pids_url = "/y/cgi?execute=func:get_audio_pids_as_dropdown";
|
||||||
|
Reference in New Issue
Block a user