Swap MPC-HC previous and next transport presets
This commit is contained in:
parent
116bce6253
commit
43785609c0
|
|
@ -57,6 +57,11 @@ spare page. These presets already include their feedback and variable references
|
|||
| Elapsed | Live elapsed media time and progress bar |
|
||||
| Playback state | Playing, paused, stopped, idle, or offline with matching colors |
|
||||
|
||||
The Previous/Next transport presets swap command IDs (Previous → `919`, Next →
|
||||
`918`) to compensate for reversed navigation observed on this player. Original
|
||||
numeric actions remain unchanged. Re-add copied presets to existing buttons
|
||||
to apply this correction; linked presets follow the module update.
|
||||
|
||||
The progress bar fills from left to right. It turns amber with 10 seconds left
|
||||
and red with 5 seconds left. Timing displays are passive: pressing them does
|
||||
not send a player command. Transport presets use symbols, colors, and labels;
|
||||
|
|
|
|||
|
|
@ -51,8 +51,9 @@ export function presets(label = 'MPC_DEV') {
|
|||
active('paused', colors.amber, 'Ⅱ\nPAUSED'),
|
||||
]),
|
||||
transport_stop: button('Stop — red while stopped', '■\nSTOP', '890', [active('stopped', colors.red)]),
|
||||
transport_previous: button('Previous playlist item', '◀◀\nPREV', '918'),
|
||||
transport_next: button('Next playlist item', '▶▶\nNEXT', '919'),
|
||||
// This player's playlist navigation is reversed; keep legacy numeric actions unchanged.
|
||||
transport_previous: button('Previous playlist item', '◀◀\nPREV', '919'),
|
||||
transport_next: button('Next playlist item', '▶▶\nNEXT', '918'),
|
||||
transport_mute: button('Toggle mute — red while muted', 'MUTE', '909', [active('muted', colors.red, 'MUTED')]),
|
||||
transport_pause: button('Pause — amber while paused', 'Ⅱ\nPAUSE', '888', [active('paused', colors.amber)]),
|
||||
transport_remaining: button('Remaining time and progress', `LEFT\n$(${label}:remaining)`, null, [
|
||||
|
|
|
|||
|
|
@ -55,8 +55,8 @@ test('transport presets use playlist commands and state feedback; time displays
|
|||
for (const [preset, command] of [
|
||||
['play', '887'],
|
||||
['stop', '890'],
|
||||
['previous', '918'],
|
||||
['next', '919'],
|
||||
['previous', '919'],
|
||||
['next', '918'],
|
||||
['mute', '909'],
|
||||
]) {
|
||||
assert.equal(buttons[`transport_${preset}`].steps[0].down[0].actionId, command)
|
||||
|
|
|
|||
Loading…
Reference in New Issue