CC-3888: Record Show: ON AIR light and scheduled Play will ON for several seconds when a record show starts
-fixed
This commit is contained in:
parent
b6446442ba
commit
3566480999
|
@ -1782,6 +1782,7 @@ class Application_Model_Show {
|
|||
"end_timestamp"=>$rows[$i-1]['end_timestamp'],
|
||||
"starts"=>$rows[$i-1]['starts'],
|
||||
"ends"=>$rows[$i-1]['ends'],
|
||||
"record"=>$rows[$i-1]['record'],
|
||||
"type"=>"show");
|
||||
}
|
||||
|
||||
|
@ -1797,6 +1798,7 @@ class Application_Model_Show {
|
|||
"end_timestamp"=>$rows[$i+1]['end_timestamp'],
|
||||
"starts"=>$rows[$i+1]['starts'],
|
||||
"ends"=>$rows[$i+1]['ends'],
|
||||
"record"=>$rows[$i+1]['record'],
|
||||
"type"=>"show");
|
||||
|
||||
}
|
||||
|
@ -1817,6 +1819,7 @@ class Application_Model_Show {
|
|||
"end_timestamp"=>$rows[$i]['end_timestamp'],
|
||||
"starts"=>$rows[$i]['starts'],
|
||||
"ends"=>$rows[$i]['ends'],
|
||||
"record"=>$rows[$i]['record'],
|
||||
"type"=>"show");
|
||||
break;
|
||||
}
|
||||
|
@ -1832,6 +1835,7 @@ class Application_Model_Show {
|
|||
"end_timestamp"=>$rows[$previousShowIndex]['end_timestamp'],
|
||||
"starts"=>$rows[$previousShowIndex]['starts'],
|
||||
"ends"=>$rows[$previousShowIndex]['ends'],
|
||||
"record"=>$rows[$previousShowIndex]['record'],
|
||||
"type"=>"show");
|
||||
}
|
||||
|
||||
|
|
|
@ -83,7 +83,7 @@ function updateProgressBarValue(){
|
|||
songPercentDone = 0;
|
||||
currentSong = null;
|
||||
} else {
|
||||
if ((currentSong.media_item_played == true && currentShow.length > 0) || songElapsedTime < 5000) {
|
||||
if ((currentSong.media_item_played == true && currentShow.length > 0) || (songElapsedTime < 5000 && currentShow[0].record != 1)) {
|
||||
scheduled_play_line_to_switch.attr("class", "line-to-switch on");
|
||||
scheduled_play_div.addClass("ready");
|
||||
scheduled_play_source = true;
|
||||
|
|
Loading…
Reference in New Issue