mac666 Wrote:I dont use myth tv,
does your script work to kill xbmc?
Would this replace my current kill script? Could i just remove the myth lines or something?
Thanks!
I launch XBMC from the mythtv frontend, and sometimes XBMC will error or I will want to close it quickly. The script is supposed to kill xbmc, then the mythtv frontend, and finally mythwelcome before launching mythwelcome again (a program to automatically shutdown/wake the machine to record programs)
You could try using the script by modifying the two lines before the last exit line.
Try deleting "killall pidof mythwelcome mythfrontend.real"
and replace "/usr/bin/mythwelcome" with "/usr/share/xbmc/xbmc.bin"
This will kill XBMC but then relaunch it! Try deleting both lines if you only want to kill XBMC
You could make another script to launch XBMC:
Code:
#!/bin/bash
/usr/share/xbmc/xbmc.bin
This would require two unused buttons on your remote with two separate irexec entries.
You could also check out this
link for a more complex script that can use one button to kill/launch two separate programs. I used it for a while and it worked like a charm.
Though I'm still not sure why our scripts are only working once.