Hi,

I tried this against an installed Freevo 1.7.0, in
/usr/lib/python2.4/site-packages/freevo/plugins/command.py, but
now the plugin won't load anymore at all :-P
So I guess I'm doing something wrong here (I'm no programmer, and don't
understand how to use patches), I just tried putting the 'if not
self.stoposd:' line before the 'rc.poll()' line.

How can I try this to see if this works on my system as well? :-)


Michel

2007/3/19, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:

On Tue, 16 January, 2007 10:44 am, Mika Orajärvi wrote:
> Hi,
> I'm using Freevo 1.7.0-rc2, but this same problem has been around at
least
>  since 1.5.x.
>
> I have the following fdx which I use to start xine for vdr usage:
>
>
> -------------------------------------
> <?xml version="1.0" ?>
> <freevo>
> <command title="Watch TV">
> <cmd>/home/htpc/startup_scripts/xine_start_tv</cmd>
> <stoposd />
> <info>
> <content>It is just a test</content>
> </info>
> </command>
> </freevo>
> --------------------------------------
>
>
> All goes well after choosing the command from main menu. But after
~15-20
>  minutes freevo crashes, leaving xine still running. But obviously after
> xine is closed there's nothing to return to.. Here's the debug output:
>
> ...
Hello,
I got the same problem and fixed it with thee folling patch against
plugins/command.py.
Bye
Helmut

--- /tmp/freevo-1.7.0/src/plugins/command.py    2006-10-24 17:24:
14.000000000 +0200
+++ ./command.py        2007-03-17 00:00:00.000000000 +0100
@@ -231,7 +231,8 @@
         workapp = CommandChild(self.cmd, 'command', 1, self.stoposd)
         while workapp.isAlive():
             # make sure all callbacks in rc are running
-            rc.poll()
+            if not self.stoposd:
+                rc.poll()
             # wait some time
             time.sleep(0.5)





-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to