mzanetti / kodimote

Kodimote is a remote control application for Kodi
GNU General Public License v3.0
20 stars 9 forks source link

Fast forward and rewind get the progress bar out of sync. #69

Open mzanetti opened 9 years ago

mzanetti commented 9 years ago

To reproduce, play something, click the fast forward button a couple of times to fast forward for some minutes, then click play to resume normal playback. The progress bar will most likely be out of sync for more than 30 seconds.

One thing would probably be to just call a GetPosition when resuming normal playback and adjust to the current situation. However, it would be nice to try keeping it closer in sync during the seeking too.

RobertMe commented 9 years ago

As said on IRC. Seems to work fine for me, and Kodi should send a Player.OnPlay notification when normal playback resumes (= speed: 1), after which we reload everything (current item + player status including current playback position).