[mythtv-users] Alternatives to MythMusic in 0.25, has anyone already found one?

Gavin Whitehead gavin at alabastercranium.demon.co.uk
Mon Apr 23 20:14:20 UTC 2012


On 23/04/2012 09:35, Thomas Boehm wrote:
> Gavin Whitehead wrote:
>> On 17/04/2012 21:30, Thomas Boehm wrote:
>>> I'm using XBMC for music and other stuff like iPlayer. I assigned an
>>> unused button on my remote control to kill mythfrontend and start xbmc
>>> and vice versa.
>> Could you tell me how you set this up?  It sounds like something I would
>> like to try.
> - Open a terminal and start irw
> - press the button on the remote you want to use
>
> you should get something like this
>
> 000000037ff07bf5 00 Clear mceusb
>
> "Clear" is the name of the button and "mceusb" the name of your remote.
>
> - create or edit ~/.lirc/irexec and add the following
>
> begin
>      remote = mceusb
>      prog = irexec
>      button = Clear
>      config = /usr/local/bin/toggle_myth_xbmc.sh
>      repeat = 2
>      delay = 3
> end
>
> - write a little script /usr/local/bin/toggle_myth_xbmc.sh and make it
> executable
>
> With Mythbuntu this should work. Otherwise replace the first occurrence
> of "mythfrontend.real" with "mythfrontend" and delete the line
> killall mythfrontend.real
> ------
> #!/bin/bash
> if [ `pidof -s mythfrontend.real` ]
> then
>          killall mythfrontend
>          killall mythfrontend.real
>          DISPLAY=:0 xbmc&
> elif [ `pidof xbmc.bin` ]
> then
>          echo "Starting MythTV">>  ~/myth.log
>          killall xbmc.bin
>          killall xbmc
>          DISPLAY=:0 mythfrontend --service&
> fi
> -----
>
> - add irexec to the programs to start at login and logout and back in
>
> Now it should work
>
> Thomas
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
Thomas,

Thanks.  I'll give it a go.

Gavin


More information about the mythtv-users mailing list