2014-09-21, 21:30
(2014-09-21, 21:19)stubk Wrote:(2014-09-20, 16:56)Lunatixz Wrote: There is nothing to work on in the PTVL code... a seektime is calculated and passed to XBMC... its up to xbmc player to use that information or not.
Only documentation of this problem i'm aware of is here in this thread... use the search tool to find it.
Exact mechanism of this bug is unknown to me, never looked into it... but I would wait for my next release... I have a feeling a unrelated problem that I fixed might have been causing your seek issues.
Right, I've done some debugging and found the problem - it's some kind of freak timing issue between ptvl and the xbmc video player which is why it would be very tricky to reproduce.
Basically, the ptvl seek request is sometimes made before the video has actually started playing, so the request is ignored and the video starts at the beginning - you can see it in the debug log where the ptvl 'seeking' debug message appears before the CDVDPlayerVideo 'switching to normal playback' message.
By adding
at line 800 of Overlay.py just before the seek request is made I can completely prevent the problem from happening. I think the proper way to fix this would be to check that the video is actually playing before the seek request is made?Code:xbmc.sleep(100);
hmm...
If that was the case, why does it only effect movies and not tvshows?
Have you tried last nights development build? it didn't fix your problem with seeking?
can I see the logs where seek is called before playback? thanks