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, 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
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
XBMC not respawning after crash - mihailescu2m - 14th May, 2013, 08:44 AM
RE: XBMC not respawning after crash - kraleksandr - 14th May, 2013 11:35 PM
RE: XBMC not respawning after crash - slackhead - 17th May, 2013, 11:22 PM
RE: XBMC not respawning after crash - mihailescu2m - 16th May, 2013, 09:09 AM

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

Current time: 10th Jun, 2025, 07:50 AM Powered By MyBB, © 2002-2025 MyBB Group.