> >
> > This has something todo with Viggo's animation stuff.
> >
> > I've tried by reverting osd.py, main.py and
> skins/main/screen.py back to
> > the version before Viggo's animation stuff was added and
> then it works.
>
> Can you send me the diff you used to make it working again? Maybe I
> can see something.

I just used on older version from cvs.

I used:

osd.py                  version 1.151
main.py                 version 1.119
skins/main/screen.py    version 1.10

> >
> > I've done a strace on the mplayer, and it stops on:
> > write(1, "A:         4.4  0.6% 88%   \r", 28
> >
> > This is also what is shown in the mplayer-logs.
> >
> > I suspect that for some reason, Freevo has stopped reading
> stdout from
> > mplayer and the stdout-buffer get's full or something.
>
> Yes.
>
> > I noticed that Viggo changed time.sleep to osd.sleep in
> main.py, maybe
> > something similiar needs to be done in childapp.py aswell.
>
> It wasn't Viggo, it was me. But osd.sleep only takes care of the
> screen update for the animation to avoid an extra thread (two threads
> drawing on the osd is a bad idea).

OK, I'm still very lost in threads in general and then python up on that
:-)

> >> o remove audio.mplayer and add audio.xine. Does this work?
> >
> > Xine works, but the the Elapsed time: is not incremented. The
> > reason Xine works is probably because it's less "noisy" on stdout
> > so the buffer doesn't get full that quickly.
>
> Yes, and since Elapsed time doesn't update, Freevo also doesn't read
> the stdout.
>
> >> o video is still working, right?
> >
> > Yes
>
> VERY strange. It's the same code to read from the childs. Start freevo
> and count the number of python processes you have (threads are shown
> as processes in top and ps). Than start a video, you should have two
> more threads than. Do the same for audio, do you also have two more
> threads?

Freevo started:
2 threads/processes (Freevo and Freevo-Webserver)

Freevo playing audio:
2 threads/processes (Freevo and Freevo-Webserver)
2 threads/processes mplayer

Freevo playing video:
2 threads/processes (Freevo and Freevo-Webserver)
2 threads/processes mplayer

Best Regards,
/LM





-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to