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 blaher » Tue May 22, 2012 6:02 am

jonib wrote:
blaher wrote:The same for TV episodes, it says XBMC2.Player.OnStop, instead of XBMC2.Player.OnStop.episode if it's not a manual stop.
That is/was a bug in XBMC see my ticket, it should be fixed in today's nightly build of XBMC.

jonib


Cheers, it says it's already fixed.

BTW, both examples above, the python script and macro, (after I picked monitor 1), worked for me to display the OSD information.
blaher
Experienced User
 
Posts: 151
Joined: Thu Nov 17, 2011 1:27 am

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby peppe_sr » Tue May 22, 2012 7:22 am

jonib wrote:
peppe_sr wrote:i would like to have a command to clean library from remote i found in the List of built-in functions this command: CleanLibrary(database). is there a way to set a command in the xbmc2 list to do this.
Sure :D . Unfortunately I haven't finished adding the built-in functions directly, but you can still use them via the Experimental\HTTPAPI action with command ExecBuiltIn using CleanLibrary(video) as parameter.
XBMC2CleanLibrary.PNG
If you haven't used the HTTPAPI action before you need to press the Update button to download the syntax information, if that don't work you can still put in the command manually.

Hope this helps.

jonib


thanks alot for your quick answer.
i tried only yesterday but i have some trouble.
first of all when i edited the HTTPAPI action, after i have used the update button, i haven't found in "miscellaneous command" tab the sub-voice ExecuteBuiltIn, i found it in "broadcast command" tab so i used this one.
i have added this new action to a button of my remote to test the action but, as you can see in the image i had two kind of issues.
first: the site is running team viewer (and this is right, i have the team viewer on in my system).
so i have turned off the team viewer and tested again the command. in this second attemp i had a new messag "HTTPAPI connecction errore etc.....".
could you help me? could depend from the version of the plug in EG (my EG version is 0.4.1r1568. i don't know i'm new in this kind of software.
here some images to explane what i wrote.

Image
config HTTPAPI

Image
first message (team viewer on)

Image
second message (team viewer off)

in each test the xbmc was running
thank you
peppe
peppe_sr
 
Posts: 4
Joined: Sat May 19, 2012 8:32 am

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby jonib » Tue May 22, 2012 8:43 am

peppe_sr wrote:first of all when i edited the HTTPAPI action, after i have used the update button, i haven't found in "miscellaneous command" tab the sub-voice ExecuteBuiltIn, i found it in "broadcast command" tab so i used this one.
Unfortunately the webpage I get the command information changed after I released the plugin, as a result the categories get messed up, I think it works correctly in the current test version. But anyway the commands should work just fine anyway.

in each test the xbmc was running
Looks like both XBMC and TeamViewer uses network port 80, you need to change the port on one of them, if you change the port in XBMC remember to change in the XBMC2 plugin also (info how to change port in XBMC). I use port 8080 in XBMC and works great.
Did you restart XBMC when you closed down TeamViewer?

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

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby jonib » Tue May 22, 2012 8:53 am

blaher wrote:
jonib wrote:
blaher wrote:The same for TV episodes, it says XBMC2.Player.OnStop, instead of XBMC2.Player.OnStop.episode if it's not a manual stop.
That is/was a bug in XBMC see my ticket, it should be fixed in today's nightly build of XBMC.

jonib


Cheers, it says it's already fixed.
It was fixed fast that's for sure, but there is already trouble in paradise :shock: check post. :twisted:

BTW, both examples above, the python script and macro, (after I picked monitor 1), worked for me to display the OSD information.
Thanks for the report, I was in a bit of a hurry so I assumed non of them would work. :mrgreen: Now the question is are they useful to show how the actions work? :shock:

jonib
Last edited by jonib on Tue May 22, 2012 1:37 pm, edited 1 time in total.
XBMC2 plugin to control XBMC. If you want to flatter me Image
jonib
Plugin Developer
 
Posts: 713
Joined: Thu Mar 26, 2009 9:33 pm

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby peppe_sr » Tue May 22, 2012 9:17 am

jonib wrote:
peppe_sr wrote:Did you restart XBMC when you closed down TeamViewer?

jonib

no i haven't.
i understood it was a problem of ports.
but i use already the port 8080 in xbmc (is the one i setted to run the android remote).
i don't understand why EG calls that port. i have to change the port number also in EG settings. if i remember when i added plugins in EG configuration i read a sort of IP and a port numer (the one in the error). isn't it?
peppe
peppe_sr
 
Posts: 4
Joined: Sat May 19, 2012 8:32 am

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby jonib » Tue May 22, 2012 1:33 pm

peppe_sr wrote:i don't understand why EG calls that port. i have to change the port number also in EG settings. if i remember when i added plugins in EG configuration i read a sort of IP and a port numer (the one in the error). isn't it?
You need to change the port number in the XBMC2 plugins settings, just doublclick on XBMC2 in the autostart folder in EventGhost, the second editbox is the port.

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

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby blaher » Wed May 23, 2012 6:39 am

jonib wrote:Now the question is are they useful to show how the actions work? :shock:

jonib


Yes, I can use your Python script with a 'Trigger event' of {eg.result} instead of the 'Show OSD' to give me:
Main.30 Rock: Do-Over

i.e. showname: episodename

I couldn't figure that out before. :)

I think that's what 'Livin' was after, except maybe with the XBMC2.Player.OnPlay prefix instead of Main.
blaher
Experienced User
 
Posts: 151
Joined: Thu Nov 17, 2011 1:27 am

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby peppe_sr » Wed May 23, 2012 7:12 am

jonib wrote:
peppe_sr wrote:i don't understand why EG calls that port. i have to change the port number also in EG settings. if i remember when i added plugins in EG configuration i read a sort of IP and a port numer (the one in the error). isn't it?
You need to change the port number in the XBMC2 plugins settings, just doublclick on XBMC2 in the autostart folder in EventGhost, the second editbox is the port.

jonib


i set the right port in EG and now the action "sounds good".
thank you
peppe
peppe_sr
 
Posts: 4
Joined: Sat May 19, 2012 8:32 am

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby jonib » Wed May 23, 2012 8:23 am

peppe_sr wrote:i set the right port in EG and now the action "sounds good".
Great.

Pro tip: If you would like your remote events to be nicer you could use Remote event mapper plugin(it's included in EventGhost) to rename them to more descriptive names.

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

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby DeeWay » Wed May 23, 2012 11:56 am

Hello

maybe someone can help me (translated by google)

I've created several playlists in XBMC, now I want to put any playlist on a button on the remote control with Event Ghost .. how can this be done?


thank you
DeeWay
 
Posts: 5
Joined: Sat Mar 13, 2010 4:08 am

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby Livin » Wed May 23, 2012 2:59 pm

HTTP server supports playlists...

http://wiki.xbmc.org/index.php?title=We ... r_HTTP_API

JSON API does too..

"Player.Open" : { "description" : "Opens a file or playlist" }

I suspect you will need to create a macro. jonib could give you the format needed, I'm not up on the format quite yet.
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: 749
Joined: Wed Oct 08, 2008 4:56 am

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby jonib » Wed May 23, 2012 9:15 pm

DeeWay wrote:I've created several playlists in XBMC, now I want to put any playlist on a button on the remote control with Event Ghost .. how can this be done?
I think the easiest is to use the HTTPAPI command PlayFile.

Make a macro and add the HTTPAPI action from XBMC2\Experimental. Configure it like the picture below (with a path to your playlist file).
XBMCPlayFile.PNG


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

Re: Start dynamic Playlist

Postby jonib » Wed May 23, 2012 9:39 pm

First, I apologize for the extremely late response. :oops: Hopefully it has not scarred you for life. :wink:

coolfire wrote:I want to start a dynamic playlist in XBMC with an EventGhost Macro. I hope that is possible.
Looks like the solution is the same as the post above (how convenient for me 8) ), you just need to know the path to your dynamic list (I assume it's the same as a smart list).

Sorry again for the really late reply, I didn't miss it when you posted but I wasn't able to look into it at the time, then it got lost in all my Firefox tabs (which there are hundreds of). :shock:

jonib
Last edited by jonib on Wed May 23, 2012 10:43 pm, edited 1 time in total.
XBMC2 plugin to control XBMC. If you want to flatter me Image
jonib
Plugin Developer
 
Posts: 713
Joined: Thu Mar 26, 2009 9:33 pm

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby DeeWay » Wed May 23, 2012 10:40 pm

thx

so I can play files directly .. But I want to be my playlist list opens

when I mean "playlist.xsp" entries always played a movie is in the playlist

these three categories, there are .. I want to taste each of them has its own place on the remote

( translate by google )

screenshot001.png
DeeWay
 
Posts: 5
Joined: Sat Mar 13, 2010 4:08 am

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby Livin » Thu May 24, 2012 12:29 am

I think you are now saying you want to open XBMC to the playslist screen... not actually start a playlist -- correct?

I don't know if there is a way to tell XBMC to open the playlist screen. You'll need to search the wiki, and or post on XBMC's forum. If XBMC provides a way, we can do it with EG.

One thought, if XBMC does not provide a way directly, is to set that to a Favorite (if XBMC allows this) and then open the Favorite.

let us know what you find.
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: 749
Joined: Wed Oct 08, 2008 4:56 am

PreviousNext

Return to Plugin Support

Who is online

Users browsing this forum: therealbiglou and 3 guests