mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-08 23:04:51 +02:00
Change: config page to multiple pages, Add: user permissions for accessible libraries #120, Add: map genre metadata tag #114, Add: experimental audio player keyboard controls #121, Add: view user audiobook progress list
This commit is contained in:
@ -15,6 +15,17 @@ const Constants = {
|
||||
CoverDestination
|
||||
}
|
||||
|
||||
const Hotkeys = {
|
||||
PLAY_PAUSE: 32, // Space
|
||||
JUMP_FORWARD: 39, // ArrowRight
|
||||
JUMP_BACKWARD: 37, // ArrowLeft
|
||||
CLOSE: 27, // ESCAPE
|
||||
VOLUME_UP: 38, // ArrowUp
|
||||
VOLUME_DOWN: 40, // ArrowDown
|
||||
MUTE: 77, // M
|
||||
}
|
||||
|
||||
export default ({ app }, inject) => {
|
||||
inject('constants', Constants)
|
||||
inject('hotkeys', Hotkeys)
|
||||
}
|
Reference in New Issue
Block a user