Update of /cvsroot/freevo/freevo/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22914
Modified Files:
childapp.py plugin.py
Log Message:
register poll function to rc
Index: childapp.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/childapp.py,v
retrieving revision 1.52
retrieving revision 1.53
diff -C2 -d -r1.52 -r1.53
*** childapp.py 9 May 2004 14:16:16 -0000 1.52
--- childapp.py 29 May 2004 19:06:46 -0000 1.53
***************
*** 10,13 ****
--- 10,16 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.53 2004/05/29 19:06:46 dischi
+ # register poll function to rc
+ #
# Revision 1.52 2004/05/09 14:16:16 dischi
# let the child stdout handled by main
***************
*** 401,405 ****
global running_children
running_children.append(self)
!
self.is_video = 0 # Be more explicit
if stop_osd == 2:
--- 404,409 ----
global running_children
running_children.append(self)
! rc.register(self)
!
self.is_video = 0 # Be more explicit
if stop_osd == 2:
***************
*** 455,458 ****
--- 459,464 ----
return
+ rc.unregister(self)
+
if cmd and self.isAlive():
_debug_('sending exit command to app')
Index: plugin.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/plugin.py,v
retrieving revision 1.63
retrieving revision 1.64
diff -C2 -d -r1.63 -r1.64
*** plugin.py 8 Feb 2004 17:39:09 -0000 1.63
--- plugin.py 29 May 2004 19:06:46 -0000 1.64
***************
*** 10,13 ****
--- 10,16 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.64 2004/05/29 19:06:46 dischi
+ # register poll function to rc
+ #
# Revision 1.63 2004/02/08 17:39:09 dischi
# add count to Mimetype
***************
*** 195,198 ****
--- 198,202 ----
"""
def __init__(self):
+ import rc
Plugin.__init__(self)
self.poll_counter = 0 # poll counter, don't change this
***************
*** 200,205 ****
self.poll_menu_only = True # poll only when menu is active
self.event_listener = False # process all events
!
!
--- 204,209 ----
self.poll_menu_only = True # poll only when menu is active
self.event_listener = False # process all events
! if hasattr(self, 'poll'):
! rc.register(self)
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog