XBMC Shutdown hangs when on a dialog screen
#1
Hi,

I'm developing a script and I noticed that if I press the Power button of my HTPC, XBMC fails to properly shutdown if the script is on a dialog screen (a Dialog().ok() screen, for example). It works ok if on any other screen. Looking at the logs, I see that it starts the shutdown process but hangs on "stop python". I don't know if it makes any difference but usually these dialogs are created in onInit() handlers of most of the interfaces.
Any idea why?

Thanks
Reply
#2
What version of XBMC are you using? Pre-Eden(aka nightlies) have a new built in function that signals the python script that XBMC is attempting a shutdown.
Reply
#3
Hi,

Which is that function?

Thanks
Reply
#4
Spulit Wrote:Hi,

Which is that function?

Thanks

xbmc.abortRequested <- http://forum.xbmc.org/showthread.php?tid=92751
Reply
#5
But how can I use it in a dialog interface, for example, Dialog().ok()?
Reply

Logout Mark Read Team Forum Stats Members Help
XBMC Shutdown hangs when on a dialog screen0