Jean P. wrote:

Would you do something for me, as I don't use the vdr_xine plug-in and I 
would like to know from where this is being called. Just create an error 
or raise an exception. This will hopefully generate a stack trace which 
may indicate where the problem is being caused.

> ok that works for me
> here the patch for vdr_xine.py
> 
> --- vdr_xine.py.old     2008-04-21 08:56:04.000000000 +0200
> +++ vdr_xine.py 2008-04-21 08:56:26.000000000 +0200
> @@ -75,7 +75,7 @@
>  import re
>  
>  #freevo modules
> -import config, menu, rc, plugin, util
> +import config, menu, rc, plugin, util, osd, time
>  from item import Item
>  import childapp
>  import pygame.locals as key
> @@ -152,6 +152,7 @@
>              config.KEYMAP[key.K_F11]       = 'YELLOW'
>              config.KEYMAP[key.K_F12]       = 'BLUE'
>              config.KEYMAP[key.K_BACKSPACE] = 'BACK'
> +       self.osd = osd.get_singleton()
>  
>      def actions(self):
>          """
> @@ -186,6 +187,8 @@
>          if self.app:
>              self.app.stop('quit\n')
>              rc.app(None)
You could try this too:
                for i in range(10):
                    if not rc.app.isAlive():
                        break
                    time.sleep(0.1)

This should exit with a stack trace
            raise "error"

> +        time.sleep(1)
> +        self.osd.update()
>  
>      def eventhandler(self, event, menuw=None):
>          """


Will you also say if you have a fast machine or a slow one, and it has 
hyper-threading or dual core. AFAICT python does not use more than one 
core, need parallel python for that.

I would like to find out why this problem has only recently appeared. 
I'm guessing that vdr_xine.py is based on ChildApp instead of ChildApp2, 
if this is the case then just changing this to ChildApp2 may sort out 
the problem as it's stop command waits for the child to be completed 
before returning.

Thanks
Duncan

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to