open XBMC command?

Forum to ask for any help
Post Reply
windle
Posts: 5
Joined: Wed Oct 30, 2013 6:45 pm

open XBMC command?

Post by windle » Thu Nov 07, 2013 6:58 pm

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?

starwarsmike
Posts: 146
Joined: Mon May 13, 2013 12:48 pm

Re: open XBMC command?

Post by starwarsmike » Sat Nov 16, 2013 1:47 pm

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.

trevorst
Posts: 160
Joined: Wed Jul 18, 2012 3:45 pm
Location: Tacoma, WA

Re: open XBMC command?

Post by trevorst » Sat Nov 16, 2013 3:57 pm

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.

starwarsmike
Posts: 146
Joined: Mon May 13, 2013 12:48 pm

Re: open XBMC command?

Post by starwarsmike » Sat Nov 16, 2013 7:09 pm

MCE VK Commands, 136 in Total
You do not have the required permissions to view the files attached to this post.

windle
Posts: 5
Joined: Wed Oct 30, 2013 6:45 pm

Re: open XBMC command?

Post by windle » Tue Nov 19, 2013 3:01 pm

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?

trevorst
Posts: 160
Joined: Wed Jul 18, 2012 3:45 pm
Location: Tacoma, WA

Re: open XBMC command?

Post by trevorst » Tue Nov 19, 2013 3:47 pm

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.

windle
Posts: 5
Joined: Wed Oct 30, 2013 6:45 pm

Re: open XBMC command?

Post by windle » Tue Nov 19, 2013 5:06 pm

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!

windle
Posts: 5
Joined: Wed Oct 30, 2013 6:45 pm

Re: open XBMC command?

Post by windle » Tue Nov 19, 2013 5:33 pm

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)

trevorst
Posts: 160
Joined: Wed Jul 18, 2012 3:45 pm
Location: Tacoma, WA

Re: open XBMC command?

Post by trevorst » Tue Nov 19, 2013 8:31 pm

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.

trevorst
Posts: 160
Joined: Wed Jul 18, 2012 3:45 pm
Location: Tacoma, WA

Re: open XBMC command?

Post by trevorst » Tue Nov 19, 2013 9:29 pm

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.

windle
Posts: 5
Joined: Wed Oct 30, 2013 6:45 pm

Re: open XBMC command?

Post by windle » Wed Nov 20, 2013 3:34 pm

those commands worked spot on, many thanks!

Post Reply