agersant/polaris-web

Add keyboard shortcuts

Opened this issue · 1 comments

Originally requested here: agersant/polaris#154

This ticket is about adding keyboard shortcuts to control playback and/or navigation within the web client.

Random thoughts:

An initial set of keyboard shortcuts (hotkeys):

playlist control

  • previous in playlist
  • next in playlist
  • pause
  • restart song (seek to 00:00:00 of current song)
  • seek +/- 00:00:02
  • volume +/-

navigation

  • "/" go to search and focus on search input field
  • Have ctrl+{1,2,3,4,5,6} go to the respective sidebar links (Music Collection, Random, Recently Added, Playlists, Search, Settings)

And of course, let the user change the hotkeys in their settings.