Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

[PROBLEM] XBMC not respawning after crash
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Problem: XBMC not respawning after crash
14th May, 2013, 08:44 AM
Post: #1
mihailescu2m Offline
Registered
Posts: 17
Joined: May 2013
Reputation: 0
Bug XBMC not respawning after crash
It happens sometimes that XBMC crashes (I had some when pausing/resuming airplay video). I was expecting XBMC to respawn, however, this is not happening.

The screen is black, service xbmc status shows that xbmc is not running, and I have to SSH to the pi and do a service xbmc start. Aren't daemons suppose to respawn?
Find all posts by this user
Quote this message in a reply
14th May, 2013, 11:35 PM
Post: #2
kraleksandr Offline
Registered
Posts: 238
Joined: Feb 2013
Reputation: 9
RE: XBMC not respawning after crash
U can map one button of ur remote for this.
To do this u have to:

Terminal
sudoedit /etc/lirc/hardware/lirc_rpi.conf
then uncomment and set
Code:
START_IREXEC=true

Terminal
sudoedit /etc/lirc/lircrc
add this
Code:
begin
    prog = irexec
    button = key_karaoke
    config = sudo /home/xbian/xbres.sh &
end
Quote:button is the button of ur remote (from remote.conf)
config is mapped action

Terminal
sudoedit /etc/sudoers
add this
Code:
xbian ALL=(ALL) NOPASSWD: /home/xbian/xbres.sh

Terminal
nano ~/xbres.sh
add this
Code:
#!/bin/bash
service xbmc restart
then
Terminal
sudo chmod +x ~/xbres.sh
sudo reboot
Find all posts by this user
Quote this message in a reply
16th May, 2013, 09:09 AM
Post: #3
mihailescu2m Offline
Registered
Posts: 17
Joined: May 2013
Reputation: 0
RE: XBMC not respawning after crash
I did it in another way, since I am not using lirc but cec Smile
When xbmc exits, it starts a daemon that monitors HDMI routing changes, and starts xbmc. So I would just switch to TV and then back to HDMI and xbmc would restart...
Find all posts by this user
Quote this message in a reply
17th May, 2013, 11:22 PM
Post: #4
slackhead Offline
Registered
Posts: 1
Joined: May 2013
Reputation: 0
RE: XBMC not respawning after crash
(14th May, 2013 11:35 PM)kraleksandr Wrote:  U can map one button of ur remote for this.

Thank you - just came here looking to find how to do exactly this. Works a treat.
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 9th May, 2025, 07:13 PM Powered By MyBB, © 2002-2025 MyBB Group.