audiobookshelf icon indicating copy to clipboard operation
audiobookshelf copied to clipboard

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

Open petruut opened this issue 1 year ago • 4 comments

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

petruut avatar Aug 13 '24 12:08 petruut

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

advplyr avatar Aug 13 '24 21:08 advplyr

absolutely - the ones I can think of:

  • next/ previous chapter
  • increase speed, decrease speed of playback (e.g. the Shift + ">" / "<" of Youtube)
  • add bookmark (e.g. CMD + B to bring up the bookmarks/ notes AND set the cursor ready to type, which should be dismissible with Esc to return to the main player)

petruut avatar Aug 15 '24 11:08 petruut

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'
  },

advplyr avatar Aug 15 '24 13:08 advplyr

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

petruut avatar Aug 17 '24 17:08 petruut