Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

Support for XBMC2 plugin (formerly XBMCRepeat)

Questions and comments specific to a particular plugin should go here.
ECEC
Posts: 3
Joined: Thu Feb 28, 2008 5:26 pm

Re: XBMCRepeat XBMC plugin based on the official plugin

Post by ECEC »

kricker pointed me this way as I'm having to re-setup my HTPC/XBMC system. I was able to very quickly add all my commands using this plugin, but I'm having problems with the ones contained in the "Actions\General" folder. Specifically the ContextMenu, Close, and PreviousMenu commands. Even though I have remote codes assigned to them, I get no response when using the remote buttons in XBMC. The basic stuff works fine, though. Any ideas on what I could be missing?

Edit: and of course, as soon as I post for help, I fix the problem. I had forgotten to enable it! :oops: All better now, thanks for the plugin.
User avatar
Livin
Experienced User
Posts: 792
Joined: Wed Oct 08, 2008 4:56 am

Re: XBMCRepeat XBMC plugin based on the official plugin

Post by Livin »

glad it is working for you... it is a very nice plugin.
setup... XBMC, W7MC for DVR & Live OTA TV, JRMC for multi-zone audio, EG, MiCasaVerde Vera3, USB-UIRT IR receiver, Harmony remote, 5.2 home theater system
jonib
Plugin Developer
Posts: 1328
Joined: Thu Mar 26, 2009 9:33 pm
Location: Sweden

Re: XBMCRepeat XBMC plugin based on the official plugin

Post by jonib »

Thanks for the positive comments.

Now has anybody tried to control a remote XBMC over the network with this new version of the plugin?

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
vicx
Posts: 13
Joined: Sun Sep 06, 2009 11:34 am

Re: XBMCRepeat XBMC plugin based on the official plugin

Post by vicx »

jonib wrote:Now has anybody tried to control a remote XBMC over the network with this new version of the plugin?
Yup and lovin it. Only just recieved my IRtrans unit on Friday and got it all set up today.

Using XBMCRepeat to control an Nvidia Ion box running xbmclive in my loungeroom. Eventghost is running on an always on HP winXPE thinclient which is hanging off the wall in a kitchen wardrobe. I'm using an IRtrans unit for receiving remotes and blasting to my amplifier and projector, but XBMC is controlled solely over the network using XBMCrepeat.

Just finished setting up morning alarm wakeup random music mode and next is a single key sleep mode with volume dimming.

Will let you know if I can think of any improvements but I'm pretty happy with it all right now.
jonib
Plugin Developer
Posts: 1328
Joined: Thu Mar 26, 2009 9:33 pm
Location: Sweden

Re: XBMCRepeat XBMC plugin based on the official plugin

Post by jonib »

vicx wrote:Using XBMCRepeat to control an Nvidia Ion box running xbmclive in my loungeroom. Eventghost is running on an always on HP winXPE thinclient which is hanging off the wall in a kitchen wardrobe. I'm using an IRtrans unit for receiving remotes and blasting to my amplifier and projector, but XBMC is controlled solely over the network using XBMCrepeat.
Cool, thanks for the feedback.

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
User avatar
Fiasco
Plugin Developer
Posts: 222
Joined: Fri Jul 24, 2009 5:32 am
Location: St. Louis MO
Contact:

Re: XBMCRepeat XBMC plugin based on the official plugin

Post by Fiasco »

Does XBMCrepeat only work when the XBMC server is on the default port (80)?

I tried using 192.168.2.103:82 (the IP and port of my xbmc webserver) but it doesn't work.
jonib
Plugin Developer
Posts: 1328
Joined: Thu Mar 26, 2009 9:33 pm
Location: Sweden

Re: XBMCRepeat XBMC plugin based on the official plugin

Post by jonib »

Fiasco wrote:Does XBMCrepeat only work when the XBMC server is on the default port (80)?
My plugin don't change the port right now, so it uses the default port.

But shouldn't be a problem to add it to the configuration, I'll try to add it soonish. :wink:

In the meantime you can change it manually in the __init__.py file in the XBMCRepeat directory:
Just look for self.xbmc.connect(ip=ip) almost at the end, and change it to self.xbmc.connect(ip=ip, port="82"), if you want it to use port 82.

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
User avatar
Fiasco
Plugin Developer
Posts: 222
Joined: Fri Jul 24, 2009 5:32 am
Location: St. Louis MO
Contact:

Re: XBMCRepeat XBMC plugin based on the official plugin

Post by Fiasco »

For some reason, it's not working for me even with xbmc on the default port of 80.

The plugin starts w/ no errors, commands just don't seem to be making it through to xbmc.

If I use 127.0.0.1 it works fine but if I use the network IP address (192.168.2.103) it doesn't work. (both work if I do use either IP address to access the XBMC web interface through a browser)
jonib
Plugin Developer
Posts: 1328
Joined: Thu Mar 26, 2009 9:33 pm
Location: Sweden

Re: XBMCRepeat XBMC plugin based on the official plugin

Post by jonib »

Fiasco wrote:For some reason, it's not working for me even with xbmc on the default port of 80.
My plugin uses the Event server not the webserver so the default port is 9777.
If I use 127.0.0.1 it works fine but if I use the network IP address (192.168.2.103) it doesn't work. (both work if I do use either IP address to access the XBMC web interface through a browser)
It looks like you need to enable Allow other computers to connect in Event server settings in the XBMC to be able to use the IP 192.168.2.103.

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
User avatar
Fiasco
Plugin Developer
Posts: 222
Joined: Fri Jul 24, 2009 5:32 am
Location: St. Louis MO
Contact:

Re: XBMCRepeat XBMC plugin based on the official plugin

Post by Fiasco »

nm that last post. I thought this plugin was going through the HTTP xbmc server. I see it's running off the event server and that solved my issue.
jonib
Plugin Developer
Posts: 1328
Joined: Thu Mar 26, 2009 9:33 pm
Location: Sweden

Re: XBMCRepeat XBMC plugin based on the official plugin

Post by jonib »

Fiasco wrote:nm that last post. I thought this plugin was going through the HTTP xbmc server. I see it's running off the event server and that solved my issue.
Do you still need an option to be able to configure the port?

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
User avatar
Fiasco
Plugin Developer
Posts: 222
Joined: Fri Jul 24, 2009 5:32 am
Location: St. Louis MO
Contact:

Re: XBMCRepeat XBMC plugin based on the official plugin

Post by Fiasco »

jonib wrote:
Fiasco wrote:nm that last post. I thought this plugin was going through the HTTP xbmc server. I see it's running off the event server and that solved my issue.
Do you still need an option to be able to configure the port?

jonib
No, I don't think so. It is a configurable option in XBMC so it might not be a bad idea to add an option to change the port.
jonib
Plugin Developer
Posts: 1328
Joined: Thu Mar 26, 2009 9:33 pm
Location: Sweden

Re: XBMCRepeat XBMC plugin based on the official plugin

Post by jonib »

Fiasco wrote:No, I don't think so.
OK.
It is a configurable option in XBMC so it might not be a bad idea to add an option to change the port.
I will be adding it but it has a lower priority now that you don't need it. :)

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
User avatar
Fiasco
Plugin Developer
Posts: 222
Joined: Fri Jul 24, 2009 5:32 am
Location: St. Louis MO
Contact:

Re: XBMCRepeat XBMC plugin based on the official plugin

Post by Fiasco »

Anyone know how to pull thumbnails through the XBMC HTTP API?
jonib
Plugin Developer
Posts: 1328
Joined: Thu Mar 26, 2009 9:33 pm
Location: Sweden

Re: XBMCRepeat XBMC plugin based on the official plugin

Post by jonib »

Fiasco wrote:Anyone know how to pull thumbnails through the XBMC HTTP API?
Looks like GetCurrentlyPlaying is able to get the thumbnail of the currently playing media file, check the API here.

Code: Select all

GetCurrentlyPlaying([thumbFilename],[nothingPlayingFilename],[onlyIfChanged]) 
Also

Code: Select all

GetThumbFilename(album;location) 
jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
Post Reply