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 eatmeimadanish » Thu Nov 10, 2011 9:52 pm

It looks like Pako may have changed the GUID in the SVN, but i have not looked in the new release build 1544 to see if its the same.
eatmeimadanish
Experienced User
 
Posts: 112
Joined: Thu Oct 01, 2009 5:11 pm

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby jonib » Thu Nov 10, 2011 11:04 pm

eatmeimadanish wrote:It looks like Pako may have changed the GUID in the SVN, but i have not looked in the new release build 1544 to see if its the same.
OK, that explains it, looks like Pako changed the guid in build 1508 to not conflict with the old XBMC plugin, unfortunately I was unaware of this change and used the old guid.
I hadn't updated EventGhost since before 0.4 was released so I didn't notice the new guid and when I updated to rev 1544 my plugin used the old guid again and I didn't notice any problems.

I'll update my plugin with the new guid right away.

So some people might need to change the guid that is in EventGhosts config by editing the config.xml directly and use this guid:
Code: Select all
{8C8B850C-773F-4583-AAD9-A568262B7933}


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 piipes » Mon Dec 05, 2011 8:24 am

How i can send "Shutdown function timer" on/off command?
piipes
 
Posts: 34
Joined: Wed Mar 23, 2011 12:21 pm

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby jonib » Mon Dec 05, 2011 10:40 am

piipes wrote:How i can send "Shutdown function timer" on/off command?
I did not find a direct way. I'll look if I can find another way later today.

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 piipes » Mon Dec 05, 2011 3:18 pm

Thanks, i want disable xbmc Shutdown function timer when i change to dvbviewer.

I try other way too.
System suspend via eventghost idle action, but somehow it send "system idle" task when i watch tv?
It send system idle and then instantly unidle task.
piipes
 
Posts: 34
Joined: Wed Mar 23, 2011 12:21 pm

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby FCB38 » Wed Dec 14, 2011 9:34 pm

Hello, I come from an other topic:
viewtopic.php?f=2&t=3578

Pako tells me that you can help me (yes, you Jonib!!!) :
Ask for it in topic Support for XBMC2 plugin (formerly XBMCRepeat).
It is possible that jonib to add this feature to his plugin.


What do you think about this? It's just to toggle fullscreen/minimize screen.

Can you help us?

Regards...
User avatar
FCB38
Experienced User
 
Posts: 50
Joined: Mon Nov 28, 2011 10:28 am

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby jonib » Thu Dec 15, 2011 1:10 am

FCB38 wrote:Can you help us?
Sure, I'll try. Hopefully I understood what you want.
Code: Select all
<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1544">
    <Action Name="Check if XBMC is minimized">
        EventGhost.PythonScript(u"from win32gui import FindWindow, GetWindowPlacement\n\ntry:\n    if (GetWindowPlacement(FindWindow('XBMC','XBMC'))[1] == 2):\n        eg.result = True\n    else:\n        eg.result = False\n\nexcept:\n    pass")
    </Action>
</EventGhost>
Paste this code in your EventGhost config, it adds a Python script command that checks if XBMC is minimized and returns True if it is and False if not.
Then you can use the EventGhost "If" action to jump to an appropriate macro.

This is the code if you want to create the Python script action yourself:
Code: Select all
from win32gui import FindWindow, GetWindowPlacement

try:
    if (GetWindowPlacement(FindWindow('XBMC','XBMC'))[1] == 2):
        eg.result = True
    else:
        eg.result = False

except:
    pass


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 FCB38 » Thu Dec 15, 2011 9:30 am

Your are a chief JONIB!!!

It's working perfectly. :D :D :D :D :D :D :D :D :D :D :D :D
I put the first code at the beginning of my xml file (the one is loaded by EG on startup).
I change the code given by PAKO (thank you PAKO too) by the second code that you give.

That's all. No more problem. I don't understand how it's working but it's working!!!

Thank you a lot.
User avatar
FCB38
Experienced User
 
Posts: 50
Joined: Mon Nov 28, 2011 10:28 am

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby jonib » Thu Dec 15, 2011 12:15 pm

FCB38 wrote:Your are a chief JONIB!!!
:)

It's working perfectly. :D :D :D :D :D :D :D :D :D :D :D :D
I put the first code at the beginning of my xml file (the one is loaded by EG on startup).
I change the code given by PAKO (thank you PAKO too) by the second code that you give.
I knew I was not clear :oops: you only need one of the code blocks as they are the same code, so you can remove the one you put in EGs startup.

That's all. No more problem. I don't understand how it's working but it's working!!!
Great.

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

XBMC Home Screen while playing

Postby brotbuexe » Sat Dec 17, 2011 12:36 pm

With
<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1544">
<Action>
XBMC.Home()
</Action>
</EventGhost>

I can switch to Home Menu while playing a movie. How can I get back to the movie? I can see the movie in the background but cant find a action to get back.

It should work. The official xbmc remote on android have a button that switches between home menu and movie screen.


This post was moved/merged.
xbmc2 plugin issues?
There is a Topic for that... Here.
No need for multiple Topics per plugin.
Thanks.
brotbuexe
 
Posts: 19
Joined: Wed Feb 21, 2007 8:40 pm

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby jonib » Sat Dec 17, 2011 2:50 pm

Edit2: Use XBMC2\Actions\Media playing\Fullscreen or XBMC2\Buttons\Remote\Display to swith between the UI and video.

jonib
Last edited by jonib on Sat Dec 17, 2011 3:04 pm, edited 2 times in total.
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 zian » Sat Dec 17, 2011 2:52 pm

Thanks jonib.
eventghost.net
Be there or be square.
User avatar
zian
Site Admin
 
Posts: 478
Joined: Wed Jun 24, 2009 3:54 pm

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby shinyghost » Wed Dec 21, 2011 2:46 pm

Controlling multiple XBMC clients?

Would it be possible for one set up commands to go to one XBMC IP address and another set to go to another?
Basically I want all the normal local ones for control on my own computer and then I want to be able to stop play on several other XBMC clients over the network.
shinyghost
 
Posts: 6
Joined: Wed Dec 21, 2011 2:38 pm

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby jonib » Wed Dec 21, 2011 6:12 pm

shinyghost wrote:Controlling multiple XBMC clients?
Sure, just add one XBMC2 plugin per XBMC you want to control and change the IP address in the XBMC2 config.

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 shinyghost » Wed Dec 21, 2011 11:54 pm

Thanks for the reply.

That part makes sense but I guess I just don't fully understand it. If I create a plugin within a macro it will only be active for the length of the macro?
Sorry I am pretty new to event ghost and having a hard time finding a detailed tutorial.
Here is a picture of what I have so far.
https://imgur.com/8bdaw
shinyghost
 
Posts: 6
Joined: Wed Dec 21, 2011 2:38 pm

PreviousNext

Return to Plugin Support

Who is online

Users browsing this forum: No registered users and 2 guests