playerctl
playerctl copied to clipboard
Seek position not working
I installed playerctl on MX Linux XFCE and if i run in the terminal playerctl play-pause
and playerctl stop
it works, but if i run playerctl position 5-
or playerctl position 5+
it doesn't work. The media player i am using is Cantata.
That's how I interpreted the docs too, however I'm wondering if this is the correct format as the docs weren't really all that clear to me without an example.
I'm using playerctl to skip forwards/backwards 10s/5s using this sxhkd entry: #MEDIA Controls - Browsers alt + shift + {space,comma,period} playerctl -p firefox,com.brave.Browser,chrome {play-pause,position 5-,position 10+}
position
works perfectly in chrome and the video skips as expected, however it does nothing in firefox. Anyone else come across this? Maybe I've missed something?
Cheers S
I just realized about this limitation (playerctl position 5-
) on Firefox. Does anyone know if there is a workaround?
Firefox hasn't implemented seeking. Chromium did it already.
Relevant bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1353652
- https://bugzilla.mozilla.org/show_bug.cgi?id=1615790
- https://bugzilla.mozilla.org/show_bug.cgi?id=1634192
- https://bugzilla.mozilla.org/show_bug.cgi?id=1659199