Negative seek seems not to work
necauqua opened this issue · comments
To reproduce open anything in mpv with this plugin installed and run this command a couple of times
dbus-send --print-reply --dest=org.mpris.MediaPlayer2.mpv /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Seek int64:-5
You'll see what I mean, it just seems to be stuck at one point and never go back past that.
Positive seek works as expected.
Okay, so I finally manager to figure out, that seek works in microseconds instead of seconds.
And my seeks for 5 microseconds forward were just rounded up to one second seeks, so it jumped forward, but only for one second no matter what relatively small value of presumably seconds I was giving to it.
So after all, everything works okay, just needed to multiply by 1e6))