Hi,
Is there a way to launch a python script when XBMC is closed ?
I know the autoexec.py automatically launched when XBMC starts, but is there a same thing when XBMC stops ?
Thanks.
Not currently, there is a feature request for it though.
I bump on this thread.
Has anything changed now?
Is it possible to exec something when XBMC stops?
Thank you for answering.
if your using eventghost, this would be easily acheived
you could have;
1) exit xbmc keypress = close xbmc then run something
or
2) check to see if xbmc window exists, if not, do something
D.
You could also use Advanced Launcher to create a stand-alone launcher to start a script that will: first close XBMC, and then start your python script.
Then, rename the launcher as "Close", add it as favourite, and add this last one as a custom XBMC menu entry.