Page 1 of 1

open XBMC command?

Posted: Thu Nov 07, 2013 6:58 pm
by windle
hi ive tried looking on the forums but cant seem to see it anywhere but im looking for a way to click a button inside demopad that actually opens the application XBMC?

Re: open XBMC command?

Posted: Sat Nov 16, 2013 1:47 pm
by starwarsmike
Set an Action on your XMBC button, then set the action Type to "Launch Web Page/other App" from dropdown menu

Then choose one of the following below; and add, e.g. xbmc-commander://remote

You can use the following links:
xbmc-commander://remote
xbmc-commander://movies
xbmc-commander://tvshows
xbmc-commander://music
xbmc-commander://files
xbmc-commander://playlist
xbmc-commander://youtube
Each of these links will open the app an switch to the corresponding tab.

Re: open XBMC command?

Posted: Sat Nov 16, 2013 3:57 pm
by trevorst
Wouldn't you need XBMC Commander remote on your ios device???
Also this would also open the commander remote I think.

To open XBMC on a HTPC you need to download MCE Controller (free)
http://mcec.codeplex.com/
Easy to setup and you can have commands to open any program you like in addition to general windows control.
If you need help just ask.

Re: open XBMC command?

Posted: Sat Nov 16, 2013 7:09 pm
by starwarsmike
MCE VK Commands, 136 in Total

Re: open XBMC command?

Posted: Tue Nov 19, 2013 3:01 pm
by windle
Thanks for the suggestions :)

I have tried "xbmc-commander://remote" as a open webpage app in demopad and nothing seems to happen? I looked at mce controller but not sure if this requires a media center remoe and usb etc the computer controlling the tv is about 15meters away so not really ideal. I just wanted one button on the demopad to open XBMC I can exit it fine but not actually open it?

Re: open XBMC command?

Posted: Tue Nov 19, 2013 3:47 pm
by trevorst
MCE does not need a remote... Just add it to your startup apps, edit the commands xml to add an open XBMC command, then add an MCE device to your demopad file. I will add detailed instructions later today.

Re: open XBMC command?

Posted: Tue Nov 19, 2013 5:06 pm
by windle
ahh ive had another look and added a "test" command to demopad, I can now see test show up in MCE controller :)

just need to know how to add xbmc to the MCE commands I think!

thanks for your help!

Re: open XBMC command?

Posted: Tue Nov 19, 2013 5:33 pm
by windle
getting there!

ive managed to get it to open media center up from demopad but I want it to open XBMC

ive edited the file to try but no matter what I do I keep getting :

Command: (xbmc) error: System.NullReferenceException: Object reference not set to an instance of an object.
at MCEControl.MainWindow.ReceivedData(Reply reply, String cmd)

Re: open XBMC command?

Posted: Tue Nov 19, 2013 8:31 pm
by trevorst
windle wrote:getting there!

ive managed to get it to open media center up from demopad but I want it to open XBMC

ive edited the file to try but no matter what I do I keep getting :

Command: (xbmc) error: System.NullReferenceException: Object reference not set to an instance of an object.
at MCEControl.MainWindow.ReceivedData(Reply reply, String cmd)
Send me a PM with your email and I will send you a copy of my mce commands file with the XBMC start command in.

Re: open XBMC command?

Posted: Tue Nov 19, 2013 9:29 pm
by trevorst
Here is the command syntax for starting XBMC or any other program usinf MCE.

This command should be entered in the <StartProcess> section of the MCE Commands file (found in the MCE directory).

<StartProcess Cmd="Start_XBMC" File="C:\Program Files (x86)\XBMC\XBMC.exe" />. for 64 bit systems.

<StartProcess Cmd="Start_XBMC" File="C:\Program Files\XBMC\XBMC.exe" /> for 32 bit systems.

You may need to change the file location depending on your OS and particular setup

The command data in the Demopad MCE device command would be Start_XBMC.
Port should be 5150 in Demopad MCE device.

Remember to restart MCE or the command will not be available.

Re: open XBMC command?

Posted: Wed Nov 20, 2013 3:34 pm
by windle
those commands worked spot on, many thanks!