Support for XBMC2 plugin (formerly XBMCRepeat)

Questions and comments specific to a particular plugin should go here.

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby jonib » Thu Sep 01, 2011 1:06 am

I have released ver 0.6.3 of my XBMC2 plugin, download here.

I have mostly worked on a support tool, to make it easier for me to synchronize available actions, directly from XBMC's documentation and source code. But I have added a lot of new actions also.

Added new parameter "Notify" to Random and Repeat actions, Thanks to garbear's headsup also added better descriptions. .

Added some new actions.
In the "FullScreen Video" folder added SubtitleDelay, AudioDelay, IncreasePAR and DecreasePAR.
And in the "Uncategorized actions" folder added VerticalShiftUp, VerticalShiftDown, PlayPause, ReloadKeymaps, GuiProfile, Red, Green, Yellow and Blue.

Changed channelplus/minus to CH +/CH - and pageplus/pageminus to PG +/PG - to better match XBMC documentation.

Added missing BuiltInFunctions that don't have parameters Parentfolder, Back, Subtitleshiftup, Subtitleshiftdown, Subtitlealign, Help, Minimize, Mastermode, TakeScreenshot, ReloadSkin, UnloadSkin, RefreshRSS, Playlist.Clear, RipCD, Skin.ResetSettings, System.LogOff, Container.Refresh, Container.Update, Container.NextViewMode, Container.PreviousViewMode, Container.NextSortMethod, Container.PreviousSortMethod, Container.SortDirection, UpdateAddonRepos, UpdateLocalAddons, ToggleDPMS, Weather.Refresh, Weather.LocationNext, Weather.LocationPrevious, LIRC.Stop, LIRC.Start, LCD.Suspend and LCD.Resume.

Most of these are in the Uncategorized actions folder and untested and might not be useful.

Next update I'll add functions with parameters in a similar action like JSONRPC and HTTPAPI.

There shouldn't be any problems updating to this version but it's always a good idea to backup the EventGhost config before.

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
jonib
Plugin Developer
 
Posts: 1220
Joined: Thu Mar 26, 2009 9:33 pm
Location: Sweden

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby kiboy6 » Sun Oct 16, 2011 6:01 am

Firstly - thanks so much for all your work on this plugin....makes XBMC control super slick and painless.

I have one request that would help me achieve something I've been trying to do in XBMC for ages.

My HTPC is connected to both a 1080p projector and a small lcd monitor.

If I enable both screens simultaneoulsy (desktop extend) then XBMC will switch nicely between them via selecting Full Screen 1 or Full Screen 2 in System / Display options.

However, AFAIK there is currently no way to configure this simple toggle via a remote control keypress. That's where I'm hoping your EG plugin might be able to step into the breach.....is there any way it'd be possible for you to add an action to the plugin that toggles between the available Full Screen displays?

Thanks so much :)
kiboy6
 
Posts: 6
Joined: Thu Apr 01, 2010 11:56 pm

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby jonib » Sun Oct 16, 2011 11:11 am

kiboy6 wrote:Firstly - thanks so much for all your work on this plugin....makes XBMC control super slick and painless.
8)
However, AFAIK there is currently no way to configure this simple toggle via a remote control keypress. That's where I'm hoping your EG plugin might be able to step into the breach.....is there any way it'd be possible for you to add an action to the plugin that toggles between the available Full Screen displays?
I don't know if its possible, I'll have to look into it. Maybe tomorrow.

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
jonib
Plugin Developer
 
Posts: 1220
Joined: Thu Mar 26, 2009 9:33 pm
Location: Sweden

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby kiboy6 » Sun Oct 16, 2011 2:47 pm

Awesome jonib.....good luck!

Thanks so much for looking into it... If there's anything you can do for this it would be amazing....with my current solution I have to quit XBMC, switch displays, and then restart it, meaning I lose the currently playing song / playlist - by far the least smooth link in my otherwise near-perfect XBMC setup ;)
kiboy6
 
Posts: 6
Joined: Thu Apr 01, 2010 11:56 pm

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby jonib » Mon Oct 17, 2011 7:14 pm

I couldn't find a way to change to a different screen, sorry. The closest I came was this thread on the XBMC forum.
I think you need to ask on the XBMC forum if there is a way, if not you can make a feature request there.

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
jonib
Plugin Developer
 
Posts: 1220
Joined: Thu Mar 26, 2009 9:33 pm
Location: Sweden

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby Livin » Mon Oct 17, 2011 7:22 pm

Yes, please put in a feature request to add this to the JSON API. You will need an account on

Unfortunately Eden is on feature freeze so it will not even be looked at for at least a few months.
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
User avatar
Livin
Experienced User
 
Posts: 790
Joined: Wed Oct 08, 2008 4:56 am

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby GBWebmaster » Wed Nov 02, 2011 12:47 pm

I use the XBMC2-PlugIn in my EG-Config.
But after installing the new EG-Update v_0.4.1.r1544, the XBMC2-PlugIn could not find. After replacing the _init_.py with the old 0.6.1-Version, everything works fine.

Can someone confirm this behavior?
Für den, der nie das Rudel anführt,
wird sich die Aussicht nicht ändern.
User avatar
GBWebmaster
Experienced User
 
Posts: 114
Joined: Wed Sep 24, 2008 5:34 am

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby jonib » Wed Nov 02, 2011 5:04 pm

GBWebmaster wrote:Can someone confirm this behavior?
No, I updated yesterday and didn't have a problem.

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
jonib
Plugin Developer
 
Posts: 1220
Joined: Thu Mar 26, 2009 9:33 pm
Location: Sweden

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby GBWebmaster » Wed Nov 02, 2011 7:27 pm

I found the problem:

In Version 0.6.3 the _init_.py displays the following fileheader:
Code: Select all
eg.RegisterPlugin(
    name = "XBMC2",
    author = "Joni Boren",
    version = "0.6.3",
    kind = "program",
    guid = "{2DD98E35-F060-4444-9F11-168CD8131A6B}",


In Version 0.6.1 the _init_.py displays the following fileheader:
Code: Select all
eg.RegisterPlugin(
    name = "XBMC2",
    author = "Joni Boren",
    version = "0.6.1",
    kind = "program",
    guid = "{8C8B850C-773F-4583-AAD9-A568262B7933}",


After changing the guid-number in my eg.xml the PlugIn works.

But why had the guid-number changed?
Für den, der nie das Rudel anführt,
wird sich die Aussicht nicht ändern.
User avatar
GBWebmaster
Experienced User
 
Posts: 114
Joined: Wed Sep 24, 2008 5:34 am

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby jonib » Wed Nov 02, 2011 7:48 pm

GBWebmaster wrote:But why had the guid-number changed?
I don't know why you have a different guid, my plugin has only ever had the below:
Code: Select all
guid = "{2DD98E35-F060-4444-9F11-168CD8131A6B}",

You should change the guid in your EventGhost config XML file, then the new plugin should work.

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
jonib
Plugin Developer
 
Posts: 1220
Joined: Thu Mar 26, 2009 9:33 pm
Location: Sweden

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby GBWebmaster » Fri Nov 04, 2011 12:57 pm

GBWebmaster wrote:After changing the guid-number in my eg.xml the PlugIn works.


That' right ... :wink:
Für den, der nie das Rudel anführt,
wird sich die Aussicht nicht ändern.
User avatar
GBWebmaster
Experienced User
 
Posts: 114
Joined: Wed Sep 24, 2008 5:34 am

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby jonib » Fri Nov 04, 2011 1:10 pm

GBWebmaster wrote:That' right ... :wink:
:oops: I missed that part.

Any ideas how you got a different guid?

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
jonib
Plugin Developer
 
Posts: 1220
Joined: Thu Mar 26, 2009 9:33 pm
Location: Sweden

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby GBWebmaster » Fri Nov 04, 2011 10:23 pm

That's the question for me, too.
Because before then I don`t now the guid and his function.
Für den, der nie das Rudel anführt,
wird sich die Aussicht nicht ändern.
User avatar
GBWebmaster
Experienced User
 
Posts: 114
Joined: Wed Sep 24, 2008 5:34 am

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby jonib » Fri Nov 04, 2011 11:20 pm

GBWebmaster wrote:That's the question for me, too.
Do you remember how you installed XBMC2 ver 0.6.1? Was it installed with EventGhost or did you put it in manually?

I did a search for 8C8B850C-773F-4583-AAD9-A568262B7933 on Google and found this EG config belonging to jmoe816 so he seems to have the wrong guid too, weird.

Because before then I don`t now the guid and his function.

Pako added it to the plugin I released as ver 0.6.0, As I understand it the guid is supposed to be a unique identifier so two plugins can be named the same but with different guids and they would work correctly in EventGhost(info). So the number should stay the same in the plugin so I don't understand how there could be a different guid, other then someone changing it.

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
jonib
Plugin Developer
 
Posts: 1220
Joined: Thu Mar 26, 2009 9:33 pm
Location: Sweden

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby GBWebmaster » Sun Nov 06, 2011 9:34 pm

jonib wrote:Do you remember how you installed XBMC2 ver 0.6.1? Was it installed with EventGhost or did you put it in manually?

It was installed with EG.
And after changing the guid, everything is ok.
Für den, der nie das Rudel anführt,
wird sich die Aussicht nicht ändern.
User avatar
GBWebmaster
Experienced User
 
Posts: 114
Joined: Wed Sep 24, 2008 5:34 am

PreviousNext

Return to Plugin Support

Who is online

Users browsing this forum: No registered users and 3 guests

cron