Hi Clayton
I had a similar problem with the time not being reported properly.
I ended up creating a class to wrap/extend pyglet.media.Player and
perform some additional house keeping like tracking time, elapsed time
and time remaining. I just set the start time to what ever was
reported from Player for the current video. My game then relied on
the time reported from my class and not the video source to trigger
events.
On Nov 9, 2:43 pm, Clayton Rabenda <
claytonrabe...@gmail.com> wrote:
> Commenting out line 1094 from this line from /media/__init__.py not only
> fixed it but also made the player report the entire time of playback instead
> of just the current source's playback time(which actually works better for
> my purposes)
>
> time = self._groups[0].translate_timestamp(time)
>
> Can anyone tell me what this line is for? I would like to remove it.
>
> On Sun, Nov 8, 2009 at 10:36 PM, Clayton Rabenda
> <
claytonrabe...@gmail.com>wrote: