2010-01-20, 22:37
I really enjoy some specific features from both xbmc and boxee...
Is it possible to program a button (I have an MCE remote) that will execute a script which would then determine if one is on, stop it and start the other? Maybe something like having a random key not used map to a script like this
I pieced that together from random google searches - I know it won't work, just using it as an example...
Anyone want to help out?
Is it possible to program a button (I have an MCE remote) that will execute a script which would then determine if one is on, stop it and start the other? Maybe something like having a random key not used map to a script like this
Code:
#!/bin/bash
# check daemon
ps -ef | grep -v xbmc
# if found kill it and start boxee
if [ $? -eq 0 ]
then
killall XBMC; boxee
#otherwise, stop boxee and start xbmc
else
killall boxee; xbmc
fi
I pieced that together from random google searches - I know it won't work, just using it as an example...
Anyone want to help out?