advplyr / audiobookshelf

Self-hosted audiobook and podcast server
https://audiobookshelf.org
GNU General Public License v3.0
6.23k stars 435 forks source link

[Enhancement]: Keyboard Shortcuts in the web-app (e.g. to add bookmark, increase decrease speed, etc.) #3280

Open petruut opened 1 month ago

petruut commented 1 month ago

Type of Enhancement

None

Describe the Feature/Enhancement

As a user, it'd be great to have more control over the web-app with just the keyboard. As I'm listening to things, I'd find it really useful to be able to add/ review bookmarks with just a shortcut. I can't be alone

Why would this be helpful?

Maintain a state of flow (e.g. for bookmarks/ note, you must used the keyboard to type things out - right now, you have to leave the keyboard, grab the mouse to click on UI elements, get back to the keyboard, repeat).

Future Implementation (Screenshot)

N/A - keyboard shortcuts.

Audiobookshelf Server Version

Latest

Current Implementation (Screenshot)

No response

advplyr commented 4 weeks ago

Can you get more specific on the key board shortcuts you would like?

petruut commented 4 weeks ago

absolutely - the ones I can think of:

advplyr commented 4 weeks ago

These are the current hotkeys

  AudioPlayer: {
    PLAY_PAUSE: 'Space',
    JUMP_FORWARD: 'ArrowRight',
    JUMP_BACKWARD: 'ArrowLeft',
    VOLUME_UP: 'ArrowUp',
    VOLUME_DOWN: 'ArrowDown',
    MUTE_UNMUTE: 'KeyM',
    SHOW_CHAPTERS: 'KeyL',
    INCREASE_PLAYBACK_RATE: 'Shift-ArrowUp',
    DECREASE_PLAYBACK_RATE: 'Shift-ArrowDown',
    CLOSE: 'Escape'
  },
petruut commented 3 weeks ago

that's useful. The bookmark functionality would also be really good to add.