Keyboard shortcuts to skip playback forward/backward

Would be nice to be able to assign shortcuts for skipping playback forward/backward some amount of seconds. I typically assigned my previous/next track keyboard shortcuts to skipping playback instead, because I use that multimedia feature more often.

I doubt that requesting a historically established norm qualifies as a brainstorming event. 'why don’t we make wheels round?

How is this a brainstorm item?

Here are shortcuts for mpv:

Haruna shortcuts are similar, and freely configurable in the GUI.

In KDE Keyboard Shortcuts, it’s also trivial to swap around any shortcuts you might wish to use…

Did you try looking in the KDE Plasma Settings at ‘keyboard shortcuts’?

Hey there, I’m looking for global shortcuts that are player agnostic, like the other playback hotkey options that KDE provides; not hotkeys for specific players.

I’m coming from a tiling window manager, and I used playerctl for media playback management, assigning global hotkeys for skipping playback forward/backward is quite straightforward.

Given that KDE seems to have its own built in media playback system that interacts with MPRIS for managing media playback, my feature suggestion is to add skip forward/backward options for KDE’s built in playback system (assuming it doesn’t exist), and add shortcuts for that functionality.

Ah, ok, I see - well that’s something I’m not sure can be added to the standard Media tools, but it would be an interesting advancement… usually it’s specific to the player in use.

1 Like

something like this so that keyboard shortcuts could added?

I think the answer here is that the Media controls are universal controls… not fine-grained navigators.

This is because Plasma relies on MPRIS standards which doesn’t include the fine-grained navigators; those are always left to individual applications.

So the trick is to make sure they all use the same shortcuts, so that they’ll be more like universal.

the seek feature exists in the spec.

we just need to have canseek set to true and a shortcut key for some default number of microseconds forward or backward.

1 Like

Oof, that freedesktop webpage styling makes me feel like I’m in highschool again lol

It would be cool to be able to set a custom seek value in KDE settings, but a sensible hardcoded value of 5 or 10 seconds, for example, would do the trick, as I couldn’t see a media controller sections in the settings to add such an option (besides in the shortcuts).

I would love to have 2 values for 4 shortcuts. One for seeking faster (30s-60s) and one for fine-seeking (5s-10s) back and forth.

But to have any kind of global seek is something I also wish to have.

2 Likes
3 Likes

i would also like to be able to assign modifiers to my existing media keys

shift+MediaNext == seek 30s forward

shift+MediaPrevious == seek 30s backward

ctrl+MediaNext == seek 5s forward

ctrl+MediaPrevious == seek 5s backward

damn that was quick!

@ngraham and @cwo, quote from Git (have no account there, yet):

In testing this out, I’m not even sure if we need the ±15 sec versions. It’s easy enough to press the ±5 shortcut a number of times, or hold it down.

I’m often seeking on streamed media and while +/-5s is good enough to seek 15s or even 25s, skipping minutes with +/-5s is annoying while mouse on multi hour long media becomes also annoying to use (click on media slider). The long seek should be 30s in my opinion. On seeking an video intro of 1min and 25s it would be 4 key presses while with 5s you need to press it 17 times.
Let’s say you are watching a film series with 12 parts with exactly 1.5min intro, you have to seek 180 times more just for that one series or 36 times more with 15s seek. It sounds worse than it actually is, but I think you also understand why 30s seek feels much better.

This is just an example, but a relatively common one. And thanks for that MR.

2 Likes

I originally reported the bug (feature request). Good to see it finally being implemented! Thank you @cwo !

I’ve added the long versions back but with 30 seconds instead of 15 seconds. 15 just feel like not a meaningful difference. (To be honest, I’d prefer even longer skips, but 5/30 is the left/right arrow vs up/down arrow skip in Haruna, so there’s some some cross-KDE consistency). That should also work nicely for your anime openings.

Would love to have an option to customise the duration at some point in the future.