Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
paplayer: implement Seek() to support (small/big)skip(forward/backward) #1921
As the title says this adds back the implementation of CPAPlayer::Seek() which was lost in the re-write during the AE merge. The code is exactly the same as from before the AE merge (except for some cosmetics). This brings back the possibility to use smallskipforward, smallskipbackward, bigskipforward and bigskipbackward which can either be used through CBuiltin's "playercontrol" function or through JSON-RPC's Player.Seek.
I've gotten a lot of complaints about this from JSON-RPC API users ever since AE has been merged but I always thought the new PAPlayer didn't support any seeking at all so I never looked into it. But as I found out today absolute seeking work just fine so implementing the relative seeking is straight forward. I consider this a bug fix as it worked in Eden and currently doesn't work in Frodo.