From f70042e9b0c8f70f1a9198b934fa3b14cb3eeea2 Mon Sep 17 00:00:00 2001 From: Dandaedre Date: Thu, 12 Nov 2026 09:04:09 +0100 Subject: [PATCH] Use muted blue for inactive Play --- .../media-player-classic/README.md | 22 +++++++++---------- .../media-player-classic/companion/HELP.md | 4 ++-- .../media-player-classic/src/definitions.js | 2 +- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/companion-modules/media-player-classic/README.md b/companion-modules/media-player-classic/README.md index 19e7a03..e677cfb 100644 --- a/companion-modules/media-player-classic/README.md +++ b/companion-modules/media-player-classic/README.md @@ -46,16 +46,16 @@ their selected version until you explicitly change them. Open **Presets → MPC_DEV → Transport & timing** and drag the buttons onto a spare page. These presets already include their feedback and variable references: -| Preset | Behavior | -| --------------------- | ------------------------------------------------------------------------- | -| ▶ Play | Subdued green while stopped; full green while playing, amber while paused | -| ■ Stop | Subdued red while playing; full red while stopped | -| ◀◀ Previous / ▶▶ Next | Previous/next **playlist item**, not chapter or seek | -| Mute | Neutral when unmuted; full red **MUTED** while muted | -| Pause | Pause command; amber while paused | -| Remaining | Live media countdown and progress bar | -| Elapsed | Live elapsed media time and progress bar | -| Playback state | Playing, paused, stopped, idle, or offline with matching colors | +| Preset | Behavior | +| --------------------- | ------------------------------------------------------------------------ | +| ▶ Play | Subdued blue while stopped; full green while playing, amber while paused | +| ■ Stop | Subdued red while playing; full red while stopped | +| ◀◀ Previous / ▶▶ Next | Previous/next **playlist item**, not chapter or seek | +| Mute | Neutral when unmuted; full red **MUTED** while muted | +| Pause | Pause command; amber while paused | +| Remaining | Live media countdown and progress bar | +| Elapsed | Live elapsed media time and progress bar | +| Playback state | Playing, paused, stopped, idle, or offline with matching colors | The Previous/Next transport presets use command IDs verified against this player's `/commands.json`: Previous → `919`, Next → `920`. The old catalog was @@ -64,7 +64,7 @@ Navigation-related labels are corrected; numeric action IDs still send their same numeric commands. Re-add copied presets to existing buttons to apply this correction; linked presets follow the module update. -Transport buttons use white labels on filled backgrounds. Play is subdued green +Transport buttons use white labels on filled backgrounds. Play is subdued blue until playing, when it becomes full green; Stop is subdued red until stopped, when it becomes full red. Previous/Next stay subdued blue. Mute is neutral when unmuted and full red with **MUTED** text when muted. Playback state is full green diff --git a/companion-modules/media-player-classic/companion/HELP.md b/companion-modules/media-player-classic/companion/HELP.md index bacdbca..545c46e 100644 --- a/companion-modules/media-player-classic/companion/HELP.md +++ b/companion-modules/media-player-classic/companion/HELP.md @@ -8,7 +8,7 @@ in this connection. Allow remote access from the Companion computer if needed. Choose **Transport & timing** in this connection's Presets: -- **Play**: subdued green while stopped; full green while playing; amber while paused. Press to play/resume. +- **Play**: subdued blue while stopped; full green while playing; amber while paused. Press to play/resume. - **Stop**: subdued red while playing; full red while stopped. - **Previous / Next**: navigate playlist items (verified command IDs 919/920). These load and start playback; the web API has no reliable open-next-paused @@ -22,7 +22,7 @@ The bar fills left to right, turning amber with 10 media seconds left and red with 5 seconds left. All 138 original command presets remain in **All commands**. Open File opens a dialog on the player computer; it does not upload a file. -Transport buttons use white labels on filled backgrounds. Play is subdued green +Transport buttons use white labels on filled backgrounds. Play is subdued blue until playing, when it becomes full green; Stop is subdued red until stopped, when it becomes full red. Previous/Next stay subdued blue. Mute is neutral when unmuted and full red with **MUTED** text when muted. Playback state is full green diff --git a/companion-modules/media-player-classic/src/definitions.js b/companion-modules/media-player-classic/src/definitions.js index cbaeaaa..ffa6445 100644 --- a/companion-modules/media-player-classic/src/definitions.js +++ b/companion-modules/media-player-classic/src/definitions.js @@ -72,7 +72,7 @@ export function presets(label = 'MPC_DEV') { '887', [active('playing', colors.green), active('paused', colors.amber, 'Ⅱ\nPAUSED')], '18', - 0x103d26, + 0x243b50, ), transport_stop: button( 'Stop — red while stopped',