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.

Pushbullet client make a "Task.Deactivated.Kodi"

If you have a question or need help, this is the place to be.
Post Reply
nonob
Experienced User
Posts: 76
Joined: Tue Dec 06, 2011 6:52 am

Pushbullet client make a "Task.Deactivated.Kodi"

Post by nonob »

I use EG to control both my kodi and mediamonkey app.
I use the "Task.Activated" events to toggle exclusive activation to one or the other : "Task.Activated.Kodi" force exclusive control for Kodi and "Task.Desactivated.Kodi" go back to exclusive mediamonkey control.

Lats days, i installed the windows desktop app "pushbullet client" and since, i lose control of Kodi when i play a video, because (i d'ont know why) pushbullet create an event "Task.Created.pushbullet_client" that is follow by the event "Task.Desactivated.Kodi" and so, i lose my Kodi control.

When this occure, i didn't see anything on my screen (no pushbullet windows for instance).

This is the event chen the pb happen :

Code: Select all

MceRemote.Mce.Ok
   Select
      XBMC2 #2: Select
Task.Created.pushbullet_client
Task.NewWindow.pushbullet_client
Task.Deactivated.Kodi
   Activation exclusive: MediaMonkey
      Activation exclusive: MediaMonkey
Task.Activated.pushbullet_client
Task.Deactivated.pushbullet_client
Task.ClosedWindow.pushbullet_client
Task.Destroyed.pushbullet_client
MceRemote.SIRC12.0813
MceRemote.SIRC12.0813
MceRemote.SIRC12.0812
MceRemote.Mce.Right
MceRemote.Mce.Right
MceRemote.Mce.Right
MceRemote.Mce.Right
MceRemote.Mce.Left
MceRemote.Mce.Up
MceRemote.Mce.Down
MceRemote.Mce.Right
MceRemote.Mce.Right
MceRemote.Mce.Right
MceRemote.Mce.Left
MceRemote.Mce.Left
MceRemote.Mce.Right
MceRemote.Mce.Right
MceRemote.Mce.Stop
   Stop
      MediaMonkey: Stop
MceRemote.Mce.Stop
   Stop
      MediaMonkey: Stop
System.UnIdle
Task.Created.pushbullet_client
Task.NewWindow.pushbullet_client
Task.Activated.pushbullet_client
Task.Deactivated.pushbullet_client
Task.ClosedWindow.pushbullet_client
Task.Destroyed.pushbullet_client
Task.ClosedWindow.Kodi
Task.Destroyed.Kodi
Task.Activated.Desktop
Task.Created.pushbullet_client
Task.NewWindow.pushbullet_client
Task.Deactivated.Desktop
Task.Activated.pushbullet_client
Task.Deactivated.pushbullet_client
Task.ClosedWindow.pushbullet_client
Task.Destroyed.pushbullet_client
System.Idle
System.ClipboardChanged
System.UnIdle
Task.Activated.EventGhost
What can i do to solve it ?

Thanks
SupahNoob
Posts: 21
Joined: Mon Jun 29, 2015 11:32 pm

Re: Pushbullet client make a "Task.Deactivated.Kodi"

Post by SupahNoob »

I use EG to control both my kodi and mediamonkey app.
I use the "Task.Activated" events to toggle exclusive activation to one or the other : "Task.Activated.Kodi" force exclusive control for Kodi and "Task.Desactivated.Kodi" go back to exclusive mediamonkey control.
I'm confused .. can you show me your setup of this description? Please take a screenshot of this, or right click the macro (little orange gear icon) and select "copy" and then paste the result into your post response.
nonob
Experienced User
Posts: 76
Joined: Tue Dec 06, 2011 6:52 am

Re: Pushbullet client make a "Task.Deactivated.Kodi"

Post by nonob »

Hi :)

This is a copy of my macro for Kodi exclusive control :

Code: Select all

<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1710">
    <Macro Name="Activation exclusive: XBMC2 #2" Expanded="True">
        <Event Name="Task.Activated.Kodi" />
        <Action>
            MediaMonkey.Stop()
        </Action>
        <Action>
            EventGhost.EnableExclusive(XmlIdLink(476))
        </Action>
    </Macro>
</EventGhost>
and this is a copy of my macro for Mediamonkey exclusive usage :

Code: Select all

<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1710">
    <Macro Name="Activation exclusive: MediaMonkey" Expanded="True">
        <Event Name="Task.Deactivated.Kodi" />
        <Action>
            EventGhost.EnableExclusive(XmlIdLink(1324))
        </Action>
    </Macro>
</EventGhost>
Thanks :)
SupahNoob
Posts: 21
Joined: Mon Jun 29, 2015 11:32 pm

Re: Pushbullet client make a "Task.Deactivated.Kodi"

Post by SupahNoob »

So, if I understand correctly ...

1) You've set up for when Kodi is deactivated, MediaMonkey is given the topmost window priority.
2) You've set up for when MediaMonkey is deactivated, Kodi is given the topmost window priority.
3) You installed Pushbullet (the Windows app) and it creates windows quickly, effectively deactivating either program above.
* You, as of right now, DON'T WANT to react to Pushbullet window activations.

Does this sound correct overall?
nonob
Experienced User
Posts: 76
Joined: Tue Dec 06, 2011 6:52 am

Re: Pushbullet client make a "Task.Deactivated.Kodi"

Post by nonob »

Hi :)

1 : Mediamonkey is given "exclusive activation" through eventghost
2 : Kodi is given "exclusive activation" through eventghost

What i mean by "exlusive activation" :

Image

3 : I don't want and don't understand why Pushbullet create "task events" when it is minimized and inactive (no notifications).

Thanks :)
Post Reply