[mythtv-users] XBMC Mythtv Frontend Plugin

Alan Young ayoung at teleport.com
Wed Apr 20 21:39:16 UTC 2011


Nick Rout wrote:
> On Sat, Apr 9, 2011 at 4:42 AM, Alan Young <ayoung at teleport.com> wrote:
>   
>> I've found a way to go back and forth between the two.  It's not
>> complete integration, but it
>> works well enough for me.  You'll need to modify your theme's menu to do it.
>>
>> In the main menu xml file, I've added
>>
>>    <button>
>>        <type>XBMC</type>
>>        <text>XBMC</text>
>>        <action>EXEC /usr/local/bin/xbmc_from_myth</action>
>>    </button>
>>
>>
>> And in /usr/local/bin, I put the script called xbmc_from_myth:
>>
>> #!/bin/sh
>> exec /usr/bin/ck-launch-session /usr/bin/dbus-launch --exit-with-session
>> /usr/bin/xbmc --standalone -fs
>>     
>
> I am not sure why you do all that extra stuff, so please feel free to
> educate me :)
>
>   

Urm... cause a post on a website told me to. :)

> I launch mine like this:
>
> <button>
>            <type>XBMC</type>
>            <text>XBMC</text>
>            <description>Launch XBMC</description>
>             <action>EXEC /usr/bin/xbmc</action>
> </button>
>
>   

Thanks, I'll try that out.

Looking at the differences, I think what I found was to launch it as 
part of .xinitrc rather than a child of mythfrontend.  I think you are 
right and it's not needed.

Alan



More information about the mythtv-users mailing list