From a3089dde7490e7f421a66f8e9030e5ba0b482042 Mon Sep 17 00:00:00 2001 From: Jonathan Sykes Date: Tue, 8 Sep 2026 16:59:43 +0800 Subject: [PATCH] Add a service mode shortcut to the now-playing bar and a video panel toggle --- frontend/app.js | 72 +++++++++++++++++++++++++++++++++++++++++++++ frontend/index.html | 12 +++++++- frontend/styles.css | 50 +++++++++++++++++++++++++++++++ 3 files changed, 133 insertions(+), 1 deletion(-) diff --git a/frontend/app.js b/frontend/app.js index 5607968..da64398 100755 --- a/frontend/app.js +++ b/frontend/app.js @@ -251,6 +251,7 @@ const DEFAULT_SETTINGS = { layout: 'classic', // 'classic'|'sanctuary-stage'|'liturgical'|'living-hymnal'|'broadcaster'|'contemplative'|'bento-hub' autoBackupEnabled: false, autoBackupIntervalDays: 7, + serviceVideo: false, // show the video panel inside service mode (lyric videos) }; let data = { playlists: [], history: [], queue: [], customVideos: [], pinnedPlaylists: [], settings: { ...DEFAULT_SETTINGS }, resumePositions: {}, rememberPos: {}, playCount: {}, abMarkers: {}, lastAutoBackup: 0, profile: null }; let view = { type: 'search' }; // 'search'|'history'|'playlist'|'settings'|'queue'|'saved'|'downloads'|'channel' @@ -2345,6 +2346,62 @@ function updateServiceMode() { updateWakeStateUI(); } +// ---------- Service mode video panel ---------- +// Lyric videos carry the words in the picture, so service mode can show the +// video instead of hiding it. The