style(monitor): Live TV bar blue, transcode orange, direct green
This commit is contained in:
@@ -952,7 +952,7 @@ function vvRenderStreams() {
|
||||
const isLive = s.type === 'LiveTvProgram' || s.dur_sec === 0;
|
||||
const inc = s.paused ? 0 : elapsed;
|
||||
const curSec = Math.max(0, (s.pos_sec ?? 0) + inc);
|
||||
const barColor = '#1e3a5a';
|
||||
const barColor = isLive ? '#1e3a5a' : (s.is_tc ? '#ff9800' : '#4caf50');
|
||||
const tcColor = s.paused ? '#fdd835' : '#555';
|
||||
|
||||
const icon = s.paused ? '⏸' : '▶';
|
||||
|
||||
Reference in New Issue
Block a user