[LIVE] How can I make XBMC restart upon a crash? (and via remote)
#1
I've just installed XBMC Live 9.04.1 and it's working GREAT! I was never able to get suspend/resume to work under my custom Ubuntu 8.10 (or whatever) but it's working perfectly now.

Anyways, two quick questions:

1) If XBMC crashes, how can I get it to automatically restart itself?

2) How can I force kill XBMC and restart it using Lirc and my remote? I know it involves .lircrc but I think I need a little help.

I had it setup before so I could press [Record] on my remote and Lirc would detect it, kill XBMC, and then restart it but I've lost my scripts and I'm not sure how to get it working with XBMC Live anyways.

Thanks so much for any help!
Reply
#2
sofakng Wrote:1) If XBMC crashes, how can I get it to automatically restart itself?

1) Start XBMC with:
Code:
while true; do xbmc; [ $? = 0 ] && break; done

2) No idea
Reply
#3
Thanks for the help!

Where do I put that script at?
Reply
#4
See script here for toggling XBMC:
http://ubuntuforums.org/showthread.php?t=1147573

The original script didn't work perfect for me, see my post there for my modification.

If you don't know lirc, see my guide here: http://cjf.se/wiki/index.php/Hardware_on_Linux#IRExec
Reply

Logout Mark Read Team Forum Stats Members Help
[LIVE] How can I make XBMC restart upon a crash? (and via remote)0