diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-09 20:16:41 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-09 20:16:41 +0300 |
| commit | 8aa495df3b3da9213bdf29d7a15c1473fefcc63b (patch) | |
| tree | fff04a324527e08b75a9667dd4e81b5a07a0ea0d /web/js/keyboard.js | |
| parent | c68965ac297f6b4f0da4ad541e921646c320c489 (diff) | |
s1 add media rescan hotkey and progress indicator
Diffstat (limited to 'web/js/keyboard.js')
| -rw-r--r-- | web/js/keyboard.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/web/js/keyboard.js b/web/js/keyboard.js index 8f07f88..1636754 100644 --- a/web/js/keyboard.js +++ b/web/js/keyboard.js @@ -261,6 +261,10 @@ export function initKeyboard(handlers) { e.preventDefault(); handlers.playRandom?.(e); break; + case 'M': + e.preventDefault(); + handlers.rescanMedia?.(e); + break; // Note: 's' / 'S' are handled above by the e.code === 'KeyS' block case '/': e.preventDefault(); |
