geigi / cozy

šŸŽ§ Listen to audio books šŸ“š on Linux
https://cozy.sh
GNU General Public License v3.0
1.08k stars 83 forks source link

Add common playback shortcuts like in most other video players (VLC, YouTube, etc.) #910

Open porky11 opened 3 months ago

porky11 commented 3 months ago

Feature description

I'd like these controls, which are pretty common to video players:

Current state

Currently it already works a little. Space works as expected (most of the time only?). Arrow keys do different things depending on the selection. Usually it's possible to select different UI elements using the arrow keys, which doesn't seem like a good feature at all, since as soon as one of the sliders (time, volume) is selected, it's not possible to select different UI elements using the arrow keys (likely a backend issue).

When one of the sliders is selected, two buttons always do the same action (up and left to move up OR left, right and down to move right OR down). Space still works as expected.

So when one of the sliders is selected, it almost works as expected. Like when the time bar is selected, left and right allows me to move back and forth a few seconds, while space is still able to pause/resume the playback. But then I think, I want it to be a little louder, and press up, as I'm used from most video players, and insdead I move back in time, which is pretty annoying.