Update of /cvsroot/freevo/freevo/src
In directory sc8-pr-cvs1:/tmp/cvs-serv22240/src
Modified Files:
childapp.py
Log Message:
It's still killing processes if they don't respond immmediately. I've
realized that this mostly happens with high-bitrate MP3s, of which I have
many.
The extra second if no data usually solves the problem. This appears to
be seperate from Dischi's earlier fix.
Index: childapp.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/childapp.py,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** childapp.py 25 Sep 2003 14:08:03 -0000 1.21
--- childapp.py 25 Sep 2003 20:46:26 -0000 1.22
***************
*** 10,13 ****
--- 10,21 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.22 2003/09/25 20:46:26 outlyer
+ # It's still killing processes if they don't respond immmediately. I've
+ # realized that this mostly happens with high-bitrate MP3s, of which I have
+ # many.
+ #
+ # The extra second if no data usually solves the problem. This appears to
+ # be seperate from Dischi's earlier fix.
+ #
# Revision 1.21 2003/09/25 14:08:03 outlyer
# Bump the priority of this message down.
***************
*** 275,281 ****
data = self.fp.readline(300)
if not data:
! _debug_('%s: No data, stopping (pid %s)!' % (self.name,
os.getpid()),2)
! self.fp.close()
! break
else:
data = data.replace('\r', '\n')
--- 283,292 ----
data = self.fp.readline(300)
if not data:
! time.sleep(1) # Wait longer and try again
! data = self.fp.readline(300)
! if not data:
! _debug_('%s: No data, stopping (pid %s)!' % (self.name,
os.getpid()),2)
! self.fp.close()
! break
else:
data = data.replace('\r', '\n')
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog