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)
+ time.sleep(1)
+ self.osd.update()
def eventhandler(self, event, menuw=None):
"""
THX a lot
Bye
Le jeudi 17 avril 2008 à 14:09 +0200, Gorka Olaizola a écrit :
> On Thu, Apr 17, 2008 at 06:31:19AM -0400, Partha Bagchi wrote:
> > I have a similar issue though not with vdr_xine but with xine. After I
> > finish playing a movie and hit q to quit, the control is returned to
> > freevo. However, the screen is black.
> >
> I have seen this behaviour with the freevoscreensaver plugin.
> After quiting the screensaver the screen was black.
>
> I added a sleep time of one second in the plugin shutdown function
> and after that it seems to work well.
>
> time.sleep(1)
> self.osd.update()
>
> I think that the problem could be that Freevo calls to update the Freevo
> window before the window of the external application gets killed and
> then Pygame or X do not update the Freevo window because as the
> app window is hiding the Freevo window no one will see that blitting
> operation.
>
> Freevo appears then with the black screen and the screen, or parts of
> it, is drawed when a new event is received.
>
> -------------------------------------------------------------------------
> 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
-------------------------------------------------------------------------
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