nhttpd - fix select audio pid in live (vlc) mode

This commit is contained in:
Jacek Jendrzej
2014-12-23 17:45:17 +01:00
parent 75bae10ba9
commit f236b4807b
2 changed files with 80 additions and 39 deletions

View File

@@ -329,7 +329,7 @@ function doChangeAudioPid(){
window.setTimeout("change_channel_play()",100);
}
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%20channel="+current_channel+":audio="+AudioChannel+":";
var audio_pid_list = loadSyncURL(audio_pids_url);
audio_pid_list = "<select size=\"1\" class=\"y_live_audio_pids\" id=\"audiopid\" onChange=\"doChangeAudioPid()\">"
+ audio_pid_list