INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 [2]   Go Down

Author Topic: MC EventGhost Plugin  (Read 40157 times)

WinoOutWest

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 358
Re: MC EventGhost Plugin
« Reply #50 on: April 03, 2015, 12:56:45 pm »

Actually I think the plugin might be over in the Eventghost forum
Logged

soundstorm

  • Recent member
  • *
  • Posts: 6
Re: MC EventGhost Plugin
« Reply #51 on: April 03, 2015, 01:11:38 pm »

would be cool if there is a solution that works also for future versions of MC and i think that core comands can provide this. isn't it ?

As far as i know the plugin dosn't

i was using winamp for the last 10 years and the plugin for EG is very good but JRiver is in indeed much better and the only thing i miss is to controll
Logged

soundstorm

  • Recent member
  • *
  • Posts: 6
Re: MC EventGhost Plugin
« Reply #52 on: April 03, 2015, 02:35:35 pm »

 :D thank you guys

It is very easy, just used "windows commamd" in system and input      MC20.exe /MCC 10000,0     and that is all!

happy now :)

Logged

gvanbrunt

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1232
  • MC Nerd
Re: MC EventGhost Plugin
« Reply #53 on: April 03, 2015, 11:43:57 pm »

You can use the plug in, but as mentioned it isn't maintained and might be problematic. I just use MCC core commands and the "Start Application"



Then use like this:



And configure like this:


Thats about it. You can perform any of the many hundreds of actions the MCC core commands allow. FYI the example above is the play command.
Logged

mikemelga

  • Recent member
  • *
  • Posts: 5
Re: MC EventGhost Plugin
« Reply #54 on: July 01, 2015, 11:20:14 am »

Hi.

I have added this plugin to Eventghost but I am not getting any events   :(

What am I doing wrong?
The plugin is installed in autostart and is configured with JRiver's access key and username/password.

Not a single event comes through and no error appears  :(

Any help?

Thanks.

Regards,
Mike

Logged

gvanbrunt

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1232
  • MC Nerd
Re: MC EventGhost Plugin
« Reply #55 on: July 06, 2015, 05:19:30 pm »

Sorry for my late reply but I was out of town and had no access to the internet.

For your issue, you first must make sure you have external access working for Media Center. In other words you need to be able to access from a client OUTSIDE your home network via the internet. If you are certain this works let us know.

Also, read through this entire thread. There is some advice for turning on debugging and how to access if you don't have external (internet) access set up.
Logged

mikemelga

  • Recent member
  • *
  • Posts: 5
Re: MC EventGhost Plugin
« Reply #56 on: July 08, 2015, 06:52:16 am »

gvanbrunt,

Edited the plugin to set my ip directly and is now working great. Thanks. ;D
Logged

kgschlosser

  • Member
  • *
  • Posts: 1
Re: MC EventGhost Plugin
« Reply #57 on: May 04, 2016, 10:26:07 pm »

@ gvanbrunt

I make plugins for eventghost and I would liek to know if you are ok with me modifying this plugin.

for starters make the debug something that can be changed on the fly with no need to stop edit the plugin and restart.

i would also like to add the ipaddress and port to the plugin config panel

i am not sure if there is a newer version of the plugin but the version i downloaded from the first page only shows events, has no control of jriver.

and if that is the case i would like to start the process of adding those commands into the plugin.

if you are ok with that

thanks again

K
Logged

gvanbrunt

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1232
  • MC Nerd
Re: MC EventGhost Plugin
« Reply #58 on: May 04, 2016, 11:52:08 pm »

I'm ok with any modifications you want to do, as long as the copyright notice is not removed and source remains open for anyone to use and modify. You can certainly add your name and info about modifications you did if you'd like.

If you add the IP Address and port to the control panel, It would be good if you had a radio button so you can go between automatic config (as is now) and manual.

The plug in, is not intended to control JRiver. I believe there already is a plug in that does it. You can also use MCC calls to do a lot.

However if you want to add control functions that would be fine as well. I really just wrote the plug in for my needs and put it out there if anyone else wanted to make use of it. I'm sure there would be many happy folks if you took the effort to expand on it.
Logged

WinoOutWest

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 358
Re: MC EventGhost Plugin
« Reply #59 on: May 05, 2016, 12:43:43 am »

well this is exciting!
:-)
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72441
  • Where did I put my teeth?
Re: MC EventGhost Plugin
« Reply #60 on: May 05, 2016, 06:46:37 am »

Yes.  Thanks.

You might find the developer pages helpful:
http://wiki.jriver.com/index.php/DevZone

Especially MCWS.
Logged

beginner44

  • Junior Woodchuck
  • **
  • Posts: 72
Re: MC EventGhost Plugin
« Reply #61 on: November 23, 2019, 03:44:28 pm »

Hi guys,

the plugin doesn't look to work anymore with the latest versions of JRiver.

Are you experiencing the same issue ?

Many thanks for your feedback.

BG
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7808
  • Autumn shade...
Re: MC EventGhost Plugin
« Reply #62 on: November 23, 2019, 04:21:07 pm »

If you're using the 64-bit version of JRiver Media Center on Windows, you likely need to use the 32-bit version instead as this is likely a 32-bit plugin.
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit | Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

jachin99

  • Citizen of the Universe
  • *****
  • Posts: 559
Re: MC EventGhost Plugin
« Reply #63 on: November 23, 2019, 09:41:11 pm »

Go over to the eventghost forums and someone will help you there.  I don't think this one has been converted to 64 bit but it likely isn't too hard to do so.
Logged

Mans

  • Galactic Citizen
  • ****
  • Posts: 418
Re: MC EventGhost Plugin
« Reply #64 on: November 24, 2019, 04:16:56 am »

Hi, running MC25.0.114 (x64) and EventGhost 0.5.0 rc6 incl the MCE plugin since a long time.
Having no issues with it:
I'm getting trackinfo and according feedback etc from JRiver into EG.
I can control the JRiver session using the MCWS commands.

Can you reach:
http://localhost:52199/MCWS/v1/doc

Did you checked the network key and authentication to your JRiver application.
In case you aren't 100% sure and want to check this, you might add the user/pw details onto your MCWS command.

I did noticed a while ago a change onto some MCWS commands.
But from memory nothing involving the MCE plugin.

Cheers.
Logged

gvanbrunt

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1232
  • MC Nerd
Re: MC EventGhost Plugin
« Reply #65 on: November 24, 2019, 11:25:53 am »

I'm still using it without any changes for many years. It's ugly but it works. :)

FYI I've been on x64 version for quite some time...

I'm actually surprised it's still being used as there has been no traffic in this thread for a while. Glad to hear.
Logged

beginner44

  • Junior Woodchuck
  • **
  • Posts: 72
Re: MC EventGhost Plugin
« Reply #66 on: November 27, 2019, 02:26:38 pm »

Hello,

thanks to all of you for your answers.  :D

I will dig further during the next week end and let you know.

Take care,

BG
Logged

beginner44

  • Junior Woodchuck
  • **
  • Posts: 72
Re: MC EventGhost Plugin
« Reply #67 on: November 30, 2019, 03:58:17 pm »

Hi, running MC25.0.114 (x64) and EventGhost 0.5.0 rc6 incl the MCE plugin since a long time.
Having no issues with it:
I'm getting trackinfo and according feedback etc from JRiver into EG.
I can control the JRiver session using the MCWS commands.

Can you reach:
http://localhost:52199/MCWS/v1/doc

Did you checked the network key and authentication to your JRiver application.
In case you aren't 100% sure and want to check this, you might add the user/pw details onto your MCWS command.

I did noticed a while ago a change onto some MCWS commands.
But from memory nothing involving the MCE plugin.

Cheers.

Hi Mans,

yes I checked that I can access the local host, anf the network key and pw are OK...

I keep on investigating and will post any news here, in case it can be helpfull to others.

Take care.

BG
Logged

beginner44

  • Junior Woodchuck
  • **
  • Posts: 72
Re: MC EventGhost Plugin
« Reply #68 on: November 30, 2019, 04:21:09 pm »

OK it's fixed.

It is a pretty stupid mistake : I switched my network adapter from fixed IP to DHCP. I guess it has some impact on the network key.

Back to the original IP, everything is fine.

Thanks to all for your feedback, and especially to gvanbrunt that created this great plugin !

Have a good one :-)

BG
Logged

Mans

  • Galactic Citizen
  • ****
  • Posts: 418
Re: MC EventGhost Plugin
« Reply #69 on: December 01, 2019, 01:15:53 pm »

Excellent !
Enjoy :-)
Logged

beginner44

  • Junior Woodchuck
  • **
  • Posts: 72
Re: MC EventGhost Plugin
« Reply #70 on: March 17, 2020, 05:32:24 pm »

One more thing :

I reseted my router the other day, and since then the MCE pluging wasn't working anymore...

It took me some time to find why. I first blamed a Windows 10 update (you can't blame me for that  ;D).

In the end, it appears that I had to re-configure port forwarding on the router (Linksys WRT54G) like this :

external port : 52199
internal port : 52199
protocol : TCP
to IP address : the internal IP v4 address of my PCHC.

Hope it will help someone sometime !

Cheers
Logged

jjazdk

  • World Citizen
  • ***
  • Posts: 140
Re: MC EventGhost Plugin
« Reply #71 on: March 18, 2020, 05:13:42 pm »

I have just reinstalled my HTPC, and installed the newest EventGhost (0.5.0-rc6).

But, the plugins are giving me tons of errors.

Any hints on what is happening on my system?

The MCEventPlugin throws this in the log, when I use "Configure Item":
--- start ---
---> Welcome to EventGhost <---
Traceback (most recent call last) (0.5.0-rc6):
  File "C:\Program Files (x86)\EventGhost\eg\Classes\TaskletDialog.py", line 162, in ProcessingTask
    self.Configure(*args, **kwargs)
  File "C:\Program Files (x86)\EventGhost\eg\Classes\ConfigDialog.py", line 106, in Configure
    treeItem.Configure(*args)
  File "C:\Program Files (x86)\EventGhost\eg\Classes\ActionItem.py", line 80, in Configure
    return self.executable.Configure(*args)
  File "C:\Program Files (x86)\EventGhost\plugins\MCEvent\__init__.py", line 60, in Configure
    pollingIntervalCtrl = panel.SpinNumCtrl(pollingInterval)
  File "C:\Program Files (x86)\EventGhost\eg\Classes\ControlProviderMixin.py", line 119, in SpinNumCtrl
    return eg.SpinNumCtrl(self, -1, value, *args, **kwargs)
  File "C:\Program Files (x86)\EventGhost\eg\__init__.py", line 50, in __getattr__
    mod = __import__("eg.Classes." + name, None, None, [name], 0)
  File "C:\Program Files (x86)\EventGhost\eg\Classes\SpinNumCtrl.py", line 27, in <module>
    THOUSANDS_SEP = l.GetInfo(wx.LOCALE_THOUSANDS_SEP)
  File "wx\_gdi.pyc", line 3106, in GetInfo
PyAssertionError: C++ assertion "strcmp(setlocale(LC_ALL, NULL), "C") == 0" failed at ..\..\src\common\intl.cpp(1449) in wxLocale::GetInfo(): You probably called setlocale() directly instead of using wxLocale and now there is a mismatch between C/C++ and Windows locale.
Things are going to break, please only change locale by creating wxLocale objects to avoid this!
--- end ---

Even the Timer plugin gives me errors:
--- start ---
---> Welcome to EventGhost <---
Task.Activated.EventGhost
Traceback (most recent call last) (0.5.0-rc6):
  File "C:\Program Files (x86)\EventGhost\eg\Classes\TaskletDialog.py", line 162, in ProcessingTask
    self.Configure(*args, **kwargs)
  File "C:\Program Files (x86)\EventGhost\eg\Classes\ConfigDialog.py", line 106, in Configure
    treeItem.Configure(*args)
  File "C:\Program Files (x86)\EventGhost\eg\Classes\ActionItem.py", line 80, in Configure
    return self.executable.Configure(*args)
  File "C:\Program Files (x86)\EventGhost\plugins\Timer\__init__.py", line 518, in Configure
    loopCtrl = eg.SpinIntCtrl(panel, -1, loops, 0, size=(200,-1))
  File "C:\Program Files (x86)\EventGhost\eg\__init__.py", line 50, in __getattr__
    mod = __import__("eg.Classes." + name, None, None, [name], 0)
  File "C:\Program Files (x86)\EventGhost\eg\Classes\SpinIntCtrl.py", line 24, in <module>
    class SpinIntCtrl(eg.SpinNumCtrl):
  File "C:\Program Files (x86)\EventGhost\eg\__init__.py", line 50, in __getattr__
    mod = __import__("eg.Classes." + name, None, None, [name], 0)
  File "C:\Program Files (x86)\EventGhost\eg\Classes\SpinNumCtrl.py", line 27, in <module>
    THOUSANDS_SEP = l.GetInfo(wx.LOCALE_THOUSANDS_SEP)
  File "wx\_gdi.pyc", line 3106, in GetInfo
PyAssertionError: C++ assertion "strcmp(setlocale(LC_ALL, NULL), "C") == 0" failed at ..\..\src\common\intl.cpp(1449) in wxLocale::GetInfo(): You probably called setlocale() directly instead of using wxLocale and now there is a mismatch between C/C++ and Windows locale.
Things are going to break, please only change locale by creating wxLocale objects to avoid this!
--- end ---
Logged
Working on my 12 channel JRiver entertainment center :-)

jjazdk

  • World Citizen
  • ***
  • Posts: 140
Re: MC EventGhost Plugin
« Reply #72 on: March 18, 2020, 05:34:30 pm »

Changing Windows display language from:
"English (Denmark)"
to
"English (United Kingdom)"

solves the issue. Some bugged locate stuff it seems.
Logged
Working on my 12 channel JRiver entertainment center :-)

beginner44

  • Junior Woodchuck
  • **
  • Posts: 72
Re: MC EventGhost Plugin
« Reply #73 on: March 22, 2020, 05:13:33 am »

51299?

For MC, maybe you meant 52199?

yes Jim, you're right ! My bad (typo error)
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72441
  • Where did I put my teeth?
Re: MC EventGhost Plugin
« Reply #74 on: March 22, 2020, 07:47:44 am »

I corrected it above.
Logged

landolfi

  • Recent member
  • *
  • Posts: 33
Re: MC EventGhost Plugin
« Reply #75 on: April 19, 2020, 09:39:25 pm »

EDIT: Never mind this post. This error will occur if you try to use EventGhost's Test button on your script. The error makes sense, since the test button causes the script to run out of its intended context.


I am getting this error as a previous poster did trying to set eg.result=True or False based on ZoneName:

Python Script
   Traceback (most recent call last):
     Python script "5", line 3, in <module>
       if eg.event.payload['ZoneName'] == 'Exasound e28':
   TypeError: 'NoneType' object is unsubscriptable

I get events from the plugin just fine and the payload looks complete when I copy it. I tried dragging the event over to the config tree as instructed to the previous poster but it's still not working. Any other ideas what could be wrong?
Logged
Pages: 1 [2]   Go Up