-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andrew Flegg wrote:
> On 6/29/07, Duncan Webb <[EMAIL PROTECTED]> wrote:
>> >
>> > Further to this, it looks like the childapp.py changes in r9625 are
>> > the culprit, reverting it back to r9560 fixes things.
>>
>> Try adding to local_conf.py the following:
>>
>> LOGGING = logging.DEBUG
>> RECORDSERVER_LOGGING = logging.DEBUG
>>
>> and, of course have:
>>
>> DEBUG = 1
>> CHILDAPP_DEBUG = 1
>
> Nothing immediately obvious here, either...
>
> 2007-06-29 20:09:02,063 INFO     recordserver.py (939) : going to
> record: Fri 2007-06-29 20:00->20:30 (20:00)  south.bbc1.bbc.co.uk
> EastEnders
> 2007-06-29 20:09:02,200 INFO     recordserver.py (957) : start
> recording: Fri 2007-06-29 20:00->20:30 (20:00)  south.bbc1.bbc.co.uk
> EastEnders
> 2007-06-29 20:09:02,202 DEBUG    generic_record.py (95)  :
> Recorder::Record: /usr/local/bin/mplayer -dumpstream -dumpfile
> /data/PVR/06-29_20_00_EastEnders.
> ts "dvb://BBC ONE"
> 2007-06-29 20:09:02,698 INFO     generic_record.py (144) :
> Record_Thread::run: mode=record
> 2007-06-29 20:09:02,699 INFO     generic_record.py (151) :
> Record_Thread::run: cmd=/usr/local/bin/mplayer -dumpstream -dumpfile
> /data/PVR/06-29_20_00_EastE
> nders.ts "dvb://BBC ONE"
> 2007-06-29 20:09:02,700 INFO     generic_record.py (118) : Record
> logging to "/tmp/freevo/recorder_stdout.log" and
> "/tmp/freevo/recorder_stderr.log"
> 2007-06-29 20:09:02,724 DEBUG    childapp.py (134) : Running (str)
> "/usr/local/bin/mplayer -dumpstream -dumpfile
> /data/PVR/06-29_20_00_EastEnders.ts "dvb:/
> /BBC ONE"" with pid 3112 prioity 0
> 2007-06-29 20:09:02,726 DEBUG    childapp.py (406) : logging stdout
> child to "/tmp/freevo/mplayer-stdout.log"
> 2007-06-29 20:09:02,728 DEBUG    childapp.py (406) : logging stderr
> child to "/tmp/freevo/mplayer-stderr.log"
> 2007-06-29 20:09:03,391 INFO     recordserver.py (1613): RECORD_START
> Fri 2007-06-29 20:00->20:30 (20:00)  south.bbc1.bbc.co.uk EastEnders
> 2007-06-29 20:09:03,542 DEBUG    fxdimdb.py (900) : fetch_image=[]
> 2007-06-29 20:09:03,639 INFO     generic_record.py (168) :
> Record_Thread::run: finished recording
> 2007-06-29 20:09:04,138 INFO     generic_record.py (144) :
> Record_Thread::run: mode=idle
> 2007-06-29 20:09:04,356 DEBUG    childapp.py (423) : stdout: no data,
> closing log
> 2007-06-29 20:09:04,655 INFO     recordserver.py (1621): RECORD_STOP
> Fri 2007-06-29 20:00->20:30 (20:00)  south.bbc1.bbc.co.uk EastEnders
> 2007-06-29 20:09:04,788 DEBUG    childapp.py (423) : stderr: no data,
> closing log

This is you recordserver log and it seems fine as you say. Isn't you
problem with playing the recording?

>
> xine-ui is 0.99.4-0ubuntu6 and libxine 1-rc5-1ubuntu2.2, using X11 as
> you say. 1.7.2 was working alright with these versions, though.

Don't quite understand what ubuntu does with version numbers.

> Some more info: just reverting childapp.py didn't do it. More details
> on what's going wrong though:
>
>   * Play recording using Xine
>   * Wait for recording to stop
>   * Screen stays blank (blocking on stdout?)
>   * Press "exit" and get a "Freevo crashed" screen.
>
> Nothing in xine-std*.log, either.

Not completely surprising as xine-ui doesn't send much to stdout or
stderr.

I don't/can't use dvb so I have no transport streams to test with,
simply not available here.

Can you do the same test with a normal mpeg program stream? If this is
failing then we know that the problem is not related to the stream type.

> If it *is* a version issue, perhaps the string being looked for in
> xine.py isn't output by my version, and the event handling once Xine's
> quit but xine.py is still looking for it's "I've finished" line isn't
> as robust as it should be?

The "I've finished" is only sent by the df_xine player, the standard
xine-ui says nothing so this should not cause any problems. Just never
gets called.

> If so, something would need to change to support more flexibly the
> exit string in xine.py, or handle Xine quitting underneath it.

Trouble is it's difficult to fix something that "works for me". Can
you add a if cin.closed: line when it tries writing to cin and see if
this helps. You can ignore the remaining messages about can't kill
player as these are sent after the program has crashed.

Duncan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGhWYgNi6l+Xvys44RAi4dAJwKUA5rLncyYk0xS7GQJhuqs5p9uwCfZ7C6
N8BLi1UWPr9b1cTPQsmulL8=
=OUyO
-----END PGP SIGNATURE-----


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to