Page 4 of 11

Re: Media Player Classic

Posted: Thu Feb 07, 2013 1:57 pm
by nonob
Yes, i will try this as soon as possible :)

Re: Media Player Classic

Posted: Thu Feb 07, 2013 4:30 pm
by liggers
Hi Pako,
Pako wrote:
liggers wrote:I stumbled upon a problem just after upgrading from EventGhost_0.4.1.r1572. The problem started appearing in r1580.
If i activate the Media Player Classic Plugin and i open a video file with MPC, an additional empty MPC window is opened.
1. Can you please write the exact steps that leads to the described behavior?
2. Can you please try the latest beta MPC-HC (1.6.6.6723 now) ?

Pako
The exact steps are:
1. Start Eventghost with Plugin "Media Player Classic" enabled
2. Navigate to a video file in Windows Explorer and start/open it with MPC-HC (Doubleclick or Enter)
3. See described behaviour (a second, empty MPC-HC window pops up)
This second window catches, as far as i can tell, all commands issued from Eventghost. That means the playing window receives no commands, even if i close the empty one.

This is the example configuration used:
eventghost_isolated.png
This also shows the Events after starting and closing the video / MPC-HC.

If you disable the plugin and redo step 2, everything is fine. Except that you are not able to control MPC-HC with Eventghost :wink:

Edit: No improvement with latest MPC-HC beta.

liggers

Re: Media Player Classic

Posted: Sat Feb 09, 2013 6:55 am
by Pako
That's interesting. I tried, as you describe it, but nothing bad happened.
But then I tried the same way to open a file located on a network drive. And voila - now the problem appeared!

I found that the problem lies in the fact that EventGhost is trying to connect with MPC-HC when MPC-HC is in a "Not responding".
So I had to add a loop in which the above condition is tested. EventGhost will try to connection only at the point when MPC-HC is responsible.

You can download the corrected plugin from the SVN repository.
It is possible that the some problem will reappear, but it should be much better. During my testing, everything was fine.

Pako

Re: Media Player Classic

Posted: Sat Feb 09, 2013 9:39 am
by nonob
nonob wrote:This is my evenghost version: 0.4.1.r1572.
For try, do i just have to update evenghost to the last version ? (is mpchc plugin would be updated too ?)
or can i download you plugin separatly ?
I'm of course thinking of the latest version of EG, which contains the latest version of the plugin.
Can you please try the problem with the double event as well?
Hi,
I can't try anything since i updated EG from 0.4.1.r1572 to 0.4.1.r1610 i have a lot of error message as soon as EG start:

Code: Select all

D├®marrage automatique
   Greffon: IgorPlug-USB
   Greffon: XBMC2
      JSON-RPC connected
      HTTP API connected
   Greffon: Media Player Classic
      Erreur lors du d├®marrage du greffon: Media Player Classic
      Traceback (most recent call last) (1610):
        File "C:\Program Files\EventGhost\eg\Classes\PluginInstanceInfo.py", line 177, in Start
          self.instance.__start__(*self.args)
        File "C:\Program Files\EventGhost\plugins\MediaPlayerClassic\__init__.py", line 2363, in __start__
          if not exists(mpcPath):
        File "genericpath.pyc", line 18, in exists
      TypeError: coercing to Unicode: need string or buffer, NoneType found
   Greffon: Task Create/Switch Events
   Greffon: Windows Media Player
   Greffon: MediaMonkey
   Greffon: Speech
   Greffon: Broadcaster
   Greffon: Webserver (Serveur Web)
Main.OnInit
Traceback (most recent call last) (1610):
  File "C:\Program Files\EventGhost\eg\Classes\Scheduler.py", line 137, in MainLoop
    func(*args, **kwargs)
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1366, in checkIsRunning
    if not self.isRunning():
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1360, in isRunning
    hwnd = FindWindowEx(None, None, "TFMainWindow", "MediaMonkey")
error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
Traceback (most recent call last) (1610):
  File "C:\Program Files\EventGhost\eg\Classes\Scheduler.py", line 137, in MainLoop
    func(*args, **kwargs)
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1366, in checkIsRunning
    if not self.isRunning():
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1360, in isRunning
    hwnd = FindWindowEx(None, None, "TFMainWindow", "MediaMonkey")
error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
Traceback (most recent call last) (1610):
  File "C:\Program Files\EventGhost\eg\Classes\Scheduler.py", line 137, in MainLoop
    func(*args, **kwargs)
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1366, in checkIsRunning
    if not self.isRunning():
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1360, in isRunning
    hwnd = FindWindowEx(None, None, "TFMainWindow", "MediaMonkey")
error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
Traceback (most recent call last) (1610):
  File "C:\Program Files\EventGhost\eg\Classes\Scheduler.py", line 137, in MainLoop
    func(*args, **kwargs)
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1366, in checkIsRunning
    if not self.isRunning():
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1360, in isRunning
    hwnd = FindWindowEx(None, None, "TFMainWindow", "MediaMonkey")
error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
Traceback (most recent call last) (1610):
  File "C:\Program Files\EventGhost\eg\Classes\Scheduler.py", line 137, in MainLoop
    func(*args, **kwargs)
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1366, in checkIsRunning
    if not self.isRunning():
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1360, in isRunning
    hwnd = FindWindowEx(None, None, "TFMainWindow", "MediaMonkey")
error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
Traceback (most recent call last) (1610):
  File "C:\Program Files\EventGhost\eg\Classes\Scheduler.py", line 137, in MainLoop
    func(*args, **kwargs)
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1366, in checkIsRunning
    if not self.isRunning():
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1360, in isRunning
    hwnd = FindWindowEx(None, None, "TFMainWindow", "MediaMonkey")
error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
Traceback (most recent call last) (1610):
  File "C:\Program Files\EventGhost\eg\Classes\Scheduler.py", line 137, in MainLoop
    func(*args, **kwargs)
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1366, in checkIsRunning
    if not self.isRunning():
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1360, in isRunning
    hwnd = FindWindowEx(None, None, "TFMainWindow", "MediaMonkey")
error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
Traceback (most recent call last) (1610):
  File "C:\Program Files\EventGhost\eg\Classes\Scheduler.py", line 137, in MainLoop
    func(*args, **kwargs)
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1366, in checkIsRunning
    if not self.isRunning():
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1360, in isRunning
    hwnd = FindWindowEx(None, None, "TFMainWindow", "MediaMonkey")
error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
Traceback (most recent call last) (1610):
  File "C:\Program Files\EventGhost\eg\Classes\Scheduler.py", line 137, in MainLoop
    func(*args, **kwargs)
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1366, in checkIsRunning
    if not self.isRunning():
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1360, in isRunning
    hwnd = FindWindowEx(None, None, "TFMainWindow", "MediaMonkey")
error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
Traceback (most recent call last) (1610):
  File "C:\Program Files\EventGhost\eg\Classes\Scheduler.py", line 137, in MainLoop
    func(*args, **kwargs)
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1366, in checkIsRunning
    if not self.isRunning():
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1360, in isRunning
    hwnd = FindWindowEx(None, None, "TFMainWindow", "MediaMonkey")
error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
Traceback (most recent call last) (1610):
  File "C:\Program Files\EventGhost\eg\Classes\Scheduler.py", line 137, in MainLoop
    func(*args, **kwargs)
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1366, in checkIsRunning
    if not self.isRunning():
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1360, in isRunning
    hwnd = FindWindowEx(None, None, "TFMainWindow", "MediaMonkey")
error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
Traceback (most recent call last) (1610):
  File "C:\Program Files\EventGhost\eg\Classes\Scheduler.py", line 137, in MainLoop
    func(*args, **kwargs)
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1366, in checkIsRunning
    if not self.isRunning():
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1360, in isRunning
    hwnd = FindWindowEx(None, None, "TFMainWindow", "MediaMonkey")
error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
Traceback (most recent call last) (1610):
  File "C:\Program Files\EventGhost\eg\Classes\Scheduler.py", line 137, in MainLoop
    func(*args, **kwargs)
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1366, in checkIsRunning
    if not self.isRunning():
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1360, in isRunning
    hwnd = FindWindowEx(None, None, "TFMainWindow", "MediaMonkey")
error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
Traceback (most recent call last) (1610):
  File "C:\Program Files\EventGhost\eg\Classes\Scheduler.py", line 137, in MainLoop
    func(*args, **kwargs)
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1366, in checkIsRunning
    if not self.isRunning():
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1360, in isRunning
    hwnd = FindWindowEx(None, None, "TFMainWindow", "MediaMonkey")
error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
Traceback (most recent call last) (1610):
  File "C:\Program Files\EventGhost\eg\Classes\Scheduler.py", line 137, in MainLoop
    func(*args, **kwargs)
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1366, in checkIsRunning
    if not self.isRunning():
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1360, in isRunning
    hwnd = FindWindowEx(None, None, "TFMainWindow", "MediaMonkey")
error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
Traceback (most recent call last) (1610):
  File "C:\Program Files\EventGhost\eg\Classes\Scheduler.py", line 137, in MainLoop
    func(*args, **kwargs)
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1366, in checkIsRunning
    if not self.isRunning():
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1360, in isRunning
    hwnd = FindWindowEx(None, None, "TFMainWindow", "MediaMonkey")
error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
Traceback (most recent call last) (1610):
  File "C:\Program Files\EventGhost\eg\Classes\Scheduler.py", line 137, in MainLoop
    func(*args, **kwargs)
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1366, in checkIsRunning
    if not self.isRunning():
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1360, in isRunning
    hwnd = FindWindowEx(None, None, "TFMainWindow", "MediaMonkey")
error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
Traceback (most recent call last) (1610):
  File "C:\Program Files\EventGhost\eg\Classes\Scheduler.py", line 137, in MainLoop
    func(*args, **kwargs)
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1366, in checkIsRunning
    if not self.isRunning():
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1360, in isRunning
    hwnd = FindWindowEx(None, None, "TFMainWindow", "MediaMonkey")
error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
Traceback (most recent call last) (1610):
  File "C:\Program Files\EventGhost\eg\Classes\Scheduler.py", line 137, in MainLoop
    func(*args, **kwargs)
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1366, in checkIsRunning
    if not self.isRunning():
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1360, in isRunning
    hwnd = FindWindowEx(None, None, "TFMainWindow", "MediaMonkey")
error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
Traceback (most recent call last) (1610):
  File "C:\Program Files\EventGhost\eg\Classes\Scheduler.py", line 137, in MainLoop
    func(*args, **kwargs)
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1366, in checkIsRunning
    if not self.isRunning():
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1360, in isRunning
    hwnd = FindWindowEx(None, None, "TFMainWindow", "MediaMonkey")
error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
Traceback (most recent call last) (1610):
  File "C:\Program Files\EventGhost\eg\Classes\Scheduler.py", line 137, in MainLoop
    func(*args, **kwargs)
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1366, in checkIsRunning
    if not self.isRunning():
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1360, in isRunning
    hwnd = FindWindowEx(None, None, "TFMainWindow", "MediaMonkey")
error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
Traceback (most recent call last) (1610):
  File "C:\Program Files\EventGhost\eg\Classes\Scheduler.py", line 137, in MainLoop
    func(*args, **kwargs)
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1366, in checkIsRunning
    if not self.isRunning():
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1360, in isRunning
    hwnd = FindWindowEx(None, None, "TFMainWindow", "MediaMonkey")
error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
Traceback (most recent call last) (1610):
  File "C:\Program Files\EventGhost\eg\Classes\Scheduler.py", line 137, in MainLoop
    func(*args, **kwargs)
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1366, in checkIsRunning
    if not self.isRunning():
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1360, in isRunning
    hwnd = FindWindowEx(None, None, "TFMainWindow", "MediaMonkey")
error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
Traceback (most recent call last) (1610):
  File "C:\Program Files\EventGhost\eg\Classes\Scheduler.py", line 137, in MainLoop
    func(*args, **kwargs)
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1366, in checkIsRunning
    if not self.isRunning():
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1360, in isRunning
    hwnd = FindWindowEx(None, None, "TFMainWindow", "MediaMonkey")
error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
Traceback (most recent call last) (1610):
  File "C:\Program Files\EventGhost\eg\Classes\Scheduler.py", line 137, in MainLoop
    func(*args, **kwargs)
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1366, in checkIsRunning
    if not self.isRunning():
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1360, in isRunning
    hwnd = FindWindowEx(None, None, "TFMainWindow", "MediaMonkey")
error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
Traceback (most recent call last) (1610):
  File "C:\Program Files\EventGhost\eg\Classes\Scheduler.py", line 137, in MainLoop
    func(*args, **kwargs)
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1366, in checkIsRunning
    if not self.isRunning():
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1360, in isRunning
    hwnd = FindWindowEx(None, None, "TFMainWindow", "MediaMonkey")
error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
Traceback (most recent call last) (1610):
  File "C:\Program Files\EventGhost\eg\Classes\Scheduler.py", line 137, in MainLoop
    func(*args, **kwargs)
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1366, in checkIsRunning
    if not self.isRunning():
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1360, in isRunning
    hwnd = FindWindowEx(None, None, "TFMainWindow", "MediaMonkey")
error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
Traceback (most recent call last) (1610):
  File "C:\Program Files\EventGhost\eg\Classes\Scheduler.py", line 137, in MainLoop
    func(*args, **kwargs)
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1366, in checkIsRunning
    if not self.isRunning():
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1360, in isRunning
    hwnd = FindWindowEx(None, None, "TFMainWindow", "MediaMonkey")
error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
Task.Activated.Desktop
Task.Deactivated.Desktop
Traceback (most recent call last) (1610):
  File "C:\Program Files\EventGhost\eg\Classes\Scheduler.py", line 137, in MainLoop
Task.Activated.explorer
    func(*args, **kwargs)
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1366, in checkIsRunning
    if not self.isRunning():
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1360, in isRunning
    hwnd = FindWindowEx(None, None, "TFMainWindow", "MediaMonkey")
error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
Traceback (most recent call last) (1610):
  File "C:\Program Files\EventGhost\eg\Classes\Scheduler.py", line 137, in MainLoop
    func(*args, **kwargs)
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1366, in checkIsRunning
    if not self.isRunning():
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1360, in isRunning
    hwnd = FindWindowEx(None, None, "TFMainWindow", "MediaMonkey")
error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
Traceback (most recent call last) (1610):
  File "C:\Program Files\EventGhost\eg\Classes\Scheduler.py", line 137, in MainLoop
    func(*args, **kwargs)
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1366, in checkIsRunning
    if not self.isRunning():
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1360, in isRunning
    hwnd = FindWindowEx(None, None, "TFMainWindow", "MediaMonkey")
error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
Task.NewWindow.explorer
Task.Deactivated.explorer
Task.Activated.explorer
Traceback (most recent call last) (1610):
  File "C:\Program Files\EventGhost\eg\Classes\Scheduler.py", line 137, in MainLoop
    func(*args, **kwargs)
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1366, in checkIsRunning
    if not self.isRunning():
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1360, in isRunning
    hwnd = FindWindowEx(None, None, "TFMainWindow", "MediaMonkey")
error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
Traceback (most recent call last) (1610):
  File "C:\Program Files\EventGhost\eg\Classes\Scheduler.py", line 137, in MainLoop
    func(*args, **kwargs)
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1366, in checkIsRunning
    if not self.isRunning():
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1360, in isRunning
    hwnd = FindWindowEx(None, None, "TFMainWindow", "MediaMonkey")
error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
Traceback (most recent call last) (1610):
  File "C:\Program Files\EventGhost\eg\Classes\Scheduler.py", line 137, in MainLoop
    func(*args, **kwargs)
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1366, in checkIsRunning
    if not self.isRunning():
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1360, in isRunning
    hwnd = FindWindowEx(None, None, "TFMainWindow", "MediaMonkey")
error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
Traceback (most recent call last) (1610):
  File "C:\Program Files\EventGhost\eg\Classes\Scheduler.py", line 137, in MainLoop
    func(*args, **kwargs)
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1366, in checkIsRunning
    if not self.isRunning():
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1360, in isRunning
    hwnd = FindWindowEx(None, None, "TFMainWindow", "MediaMonkey")
error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
Traceback (most recent call last) (1610):
  File "C:\Program Files\EventGhost\eg\Classes\Scheduler.py", line 137, in MainLoop
    func(*args, **kwargs)
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1366, in checkIsRunning
    if not self.isRunning():
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1360, in isRunning
    hwnd = FindWindowEx(None, None, "TFMainWindow", "MediaMonkey")
error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
Traceback (most recent call last) (1610):
  File "C:\Program Files\EventGhost\eg\Classes\Scheduler.py", line 137, in MainLoop
    func(*args, **kwargs)
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1366, in checkIsRunning
    if not self.isRunning():
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1360, in isRunning
    hwnd = FindWindowEx(None, None, "TFMainWindow", "MediaMonkey")
error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
Traceback (most recent call last) (1610):
  File "C:\Program Files\EventGhost\eg\Classes\Scheduler.py", line 137, in MainLoop
    func(*args, **kwargs)
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1366, in checkIsRunning
    if not self.isRunning():
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1360, in isRunning
    hwnd = FindWindowEx(None, None, "TFMainWindow", "MediaMonkey")
error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
Traceback (most recent call last) (1610):
  File "C:\Program Files\EventGhost\eg\Classes\Scheduler.py", line 137, in MainLoop
    func(*args, **kwargs)
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1366, in checkIsRunning
    if not self.isRunning():
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1360, in isRunning
    hwnd = FindWindowEx(None, None, "TFMainWindow", "MediaMonkey")
error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
Traceback (most recent call last) (1610):
  File "C:\Program Files\EventGhost\eg\Classes\Scheduler.py", line 137, in MainLoop
    func(*args, **kwargs)
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1366, in checkIsRunning
    if not self.isRunning():
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1360, in isRunning
    hwnd = FindWindowEx(None, None, "TFMainWindow", "MediaMonkey")
error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
Task.Deactivated.explorer
Task.Activated.EventGhost
Traceback (most recent call last) (1610):
  File "C:\Program Files\EventGhost\eg\Classes\Scheduler.py", line 137, in MainLoop
    func(*args, **kwargs)
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1366, in checkIsRunning
    if not self.isRunning():
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1360, in isRunning
    hwnd = FindWindowEx(None, None, "TFMainWindow", "MediaMonkey")
error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
Traceback (most recent call last) (1610):
  File "C:\Program Files\EventGhost\eg\Classes\Scheduler.py", line 137, in MainLoop
    func(*args, **kwargs)
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1366, in checkIsRunning
    if not self.isRunning():
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1360, in isRunning
    hwnd = FindWindowEx(None, None, "TFMainWindow", "MediaMonkey")
error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
Traceback (most recent call last) (1610):
  File "C:\Program Files\EventGhost\eg\Classes\Scheduler.py", line 137, in MainLoop
    func(*args, **kwargs)
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1366, in checkIsRunning
    if not self.isRunning():
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1360, in isRunning
    hwnd = FindWindowEx(None, None, "TFMainWindow", "MediaMonkey")
error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
Traceback (most recent call last) (1610):
  File "C:\Program Files\EventGhost\eg\Classes\Scheduler.py", line 137, in MainLoop
    func(*args, **kwargs)
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1366, in checkIsRunning
    if not self.isRunning():
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1360, in isRunning
    hwnd = FindWindowEx(None, None, "TFMainWindow", "MediaMonkey")
error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
Traceback (most recent call last) (1610):
  File "C:\Program Files\EventGhost\eg\Classes\Scheduler.py", line 137, in MainLoop
    func(*args, **kwargs)
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1366, in checkIsRunning
    if not self.isRunning():
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1360, in isRunning
    hwnd = FindWindowEx(None, None, "TFMainWindow", "MediaMonkey")
error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
Traceback (most recent call last) (1610):
  File "C:\Program Files\EventGhost\eg\Classes\Scheduler.py", line 137, in MainLoop
    func(*args, **kwargs)
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1366, in checkIsRunning
    if not self.isRunning():
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1360, in isRunning
    hwnd = FindWindowEx(None, None, "TFMainWindow", "MediaMonkey")
error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
Traceback (most recent call last) (1610):
  File "C:\Program Files\EventGhost\eg\Classes\Scheduler.py", line 137, in MainLoop
    func(*args, **kwargs)
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1366, in checkIsRunning
    if not self.isRunning():
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1360, in isRunning
    hwnd = FindWindowEx(None, None, "TFMainWindow", "MediaMonkey")
error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
Traceback (most recent call last) (1610):
  File "C:\Program Files\EventGhost\eg\Classes\Scheduler.py", line 137, in MainLoop
    func(*args, **kwargs)
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1366, in checkIsRunning
    if not self.isRunning():
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1360, in isRunning
    hwnd = FindWindowEx(None, None, "TFMainWindow", "MediaMonkey")
error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
Traceback (most recent call last) (1610):
  File "C:\Program Files\EventGhost\eg\Classes\Scheduler.py", line 137, in MainLoop
    func(*args, **kwargs)
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1366, in checkIsRunning
    if not self.isRunning():
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1360, in isRunning
    hwnd = FindWindowEx(None, None, "TFMainWindow", "MediaMonkey")
error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
Traceback (most recent call last) (1610):
  File "C:\Program Files\EventGhost\eg\Classes\Scheduler.py", line 137, in MainLoop
    func(*args, **kwargs)
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1366, in checkIsRunning
    if not self.isRunning():
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1360, in isRunning
    hwnd = FindWindowEx(None, None, "TFMainWindow", "MediaMonkey")
error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
Traceback (most recent call last) (1610):
  File "C:\Program Files\EventGhost\eg\Classes\Scheduler.py", line 137, in MainLoop
    func(*args, **kwargs)
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1366, in checkIsRunning
    if not self.isRunning():
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1360, in isRunning
    hwnd = FindWindowEx(None, None, "TFMainWindow", "MediaMonkey")
error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
Traceback (most recent call last) (1610):
  File "C:\Program Files\EventGhost\eg\Classes\Scheduler.py", line 137, in MainLoop
    func(*args, **kwargs)
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1366, in checkIsRunning
    if not self.isRunning():
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1360, in isRunning
    hwnd = FindWindowEx(None, None, "TFMainWindow", "MediaMonkey")
error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
Traceback (most recent call last) (1610):
  File "C:\Program Files\EventGhost\eg\Classes\Scheduler.py", line 137, in MainLoop
    func(*args, **kwargs)
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1366, in checkIsRunning
    if not self.isRunning():
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1360, in isRunning
    hwnd = FindWindowEx(None, None, "TFMainWindow", "MediaMonkey")
error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
Traceback (most recent call last) (1610):
  File "C:\Program Files\EventGhost\eg\Classes\Scheduler.py", line 137, in MainLoop
    func(*args, **kwargs)
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1366, in checkIsRunning
    if not self.isRunning():
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1360, in isRunning
    hwnd = FindWindowEx(None, None, "TFMainWindow", "MediaMonkey")
error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
Traceback (most recent call last) (1610):
  File "C:\Program Files\EventGhost\eg\Classes\Scheduler.py", line 137, in MainLoop
    func(*args, **kwargs)
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1366, in checkIsRunning
    if not self.isRunning():
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1360, in isRunning
    hwnd = FindWindowEx(None, None, "TFMainWindow", "MediaMonkey")
error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
Traceback (most recent call last) (1610):
  File "C:\Program Files\EventGhost\eg\Classes\Scheduler.py", line 137, in MainLoop
    func(*args, **kwargs)
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1366, in checkIsRunning
    if not self.isRunning():
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1360, in isRunning
    hwnd = FindWindowEx(None, None, "TFMainWindow", "MediaMonkey")
error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
Traceback (most recent call last) (1610):
  File "C:\Program Files\EventGhost\eg\Classes\Scheduler.py", line 137, in MainLoop
    func(*args, **kwargs)
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1366, in checkIsRunning
    if not self.isRunning():
  File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1360, in isRunning
    hwnd = FindWindowEx(None, None, "TFMainWindow", "MediaMonkey")
error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
I try to update mpchc to 1.6.5.6366 (744df1c) to and mediamonkey to 4.0.7.1511: Same problem.
I have windows XP SP3.

So i downgrade plugin mediamonkayu to "#Last change: 2010-02-10 12:24 " and plugin mpchc to 1.6 , i keeped EG version 0.4.1.r1610: it works, no more error messages.

Re: Media Player Classic

Posted: Sat Feb 09, 2013 1:45 pm
by Pako
nonob wrote:So i downgrade plugin mediamonkayu to "#Last change: 2010-02-10 12:24 " and plugin mpchc to 1.6 , i keeped EG version 0.4.1.r1610: it works, no more error messages.
That's for us to find the cause may not help.

1. Have you tried also MPC-HC plugin version 2.5 ?
2. I do not understand a problem with MediaMonkey. There occurs quite illogical message "The specified file was not found" (Le fichier sp├®cifi├® est introuvable).
Your computer is something special. You will understand that I can not find the problem, which does not occur to me. I need more information (but at the moment I do not know which). Maybe he could help someone else with a similar problem encountered.

Pako

Re: Media Player Classic

Posted: Sat Feb 09, 2013 2:42 pm
by nonob
That's for us to find the cause may not help.
I can upgrade plugins to newer version as soon as i have to test something, but waiting i need to use my remote ;)
1. Have you tried also MPC-HC plugin version 2.5 ?
No, where can i download it ?
2. I do not understand a problem with MediaMonkey. There occurs quite illogical message "The specified file was not found" (Le fichier sp├®cifi├® est introuvable).
Your computer is something special. You will understand that I can not find the problem, which does not occur to me. I need more information (but at the moment I do not know which). Maybe he could help someone else with a similar problem encountered.
Tell me if you want i test anything, i will do.

Re: Media Player Classic

Posted: Sat Feb 09, 2013 2:51 pm
by Pako
nonob wrote:No, where can i download it ?.
See my post Sat Feb 09, 2013 6:55 am.
Pako

Re: Media Player Classic

Posted: Sat Feb 09, 2013 2:57 pm
by nonob
I tried mpchc plugin 2.5 :

Code: Select all

---> Bienvenue dans EventGhost <---
D├®marrage automatique
   Greffon: IgorPlug-USB
   Greffon: XBMC2
      JSON-RPC connected
      HTTP API connected
   Greffon: Media Player Classic
      Erreur lors du d├®marrage du greffon: Media Player Classic
      Traceback (most recent call last) (1610):
        File "C:\Program Files\EventGhost\eg\Classes\PluginInstanceInfo.py", line 177, in Start
          self.instance.__start__(*self.args)
        File "C:\Program Files\EventGhost\plugins\MediaPlayerClassic\__init__.py", line 2401, in __start__
          if not exists(mpcPath):
        File "genericpath.pyc", line 18, in exists
      TypeError: coercing to Unicode: need string or buffer, NoneType found
   Greffon: Task Create/Switch Events
   Greffon: Windows Media Player
   Greffon: MediaMonkey
   Greffon: Speech
   Greffon: Broadcaster
   Greffon: Webserver (Serveur Web)
Main.OnInit
Task.Activated.Desktop
Task.Created.firefox
Task.NewWindow.firefox
Task.Deactivated.Desktop
Task.Activated.firefox
Task.Deactivated.firefox
Task.ClosedWindow.firefox
Task.Destroyed.firefox
Task.Activated.Desktop
Task.Created.firefox
Task.NewWindow.firefox
Task.Deactivated.Desktop
Task.Activated.firefox
Task.Deactivated.firefox
Task.Activated.EventGhost
Task.Deactivated.EventGhost
Task.ClosedWindow.EventGhost
Task.Destroyed.EventGhost
Task.Activated.explorer
Task.Deactivated.explorer
Task.Activated.explorer
Task.Created.mpc-hc
Task.NewWindow.mpc-hc
Task.Deactivated.explorer
Task.Activated.mpc-hc
   Switch to mode: MPCHC
      Activation exclusive: Media Player Classic
IgorPlugUSB.Unknown.2F5FE1FAF4
   Toggle OSD Elapsed Time
      Media Player Classic: Toggle OSD Elapsed Time
         Le greffon "Media Player Classic" n'est pas actif
      info

Re: Media Player Classic

Posted: Sat Feb 09, 2013 4:16 pm
by Pako
Ah, now I understand.
You did not set the path to MPC-HC in the main configuration dialog plugin.
Under normal circumstances (x86) it does not matter because the plugin can find the path myself in the registry. But you probably have a x64!
I have to make such adjustments to make it work in both versions. Meanwhile please set the appropriate path manually.
Problem with MediaMonkey possibly related to x64 too. However, I tried it and no problem occurred.

Pako

Re: Media Player Classic

Posted: Sat Feb 09, 2013 8:02 pm
by nonob
I'm not on 64 bits version, i have 32 bits windows XP SP3 version but i checked path settings and it was wrong:

C:\Program Files\MediaPlayerClassic\mpc-hc.exe
instead of good one :
C:\Program Files\Media Player Classic - Home Cinema\mpc-hc.exe

So i changed it and it works now, i haven't error message anymore.

But i always have the ID keys problem.
Some of them are: "Menu DVD", "Up,down,left,right DVD" ..etc..

About my second mpchc problem (control dubbed), i have to take more time to test it because it isn't a permanent problem.

About mediamonkey error message, i found that if i start mediamonkey before starting eventghost, it works:

Code: Select all

---> Bienvenue dans EventGhost <---
D├®marrage automatique
   Greffon: IgorPlug-USB
   Greffon: XBMC2
      JSON-RPC connected
      HTTP API connected
   Greffon: Media Player Classic
   Greffon: Task Create/Switch Events
   Greffon: Windows Media Player
   Greffon: MediaMonkey
   Greffon: Speech
   Greffon: Broadcaster
   Greffon: Webserver (Serveur Web)
Main.OnInit
MediaMonkey.IsRunning
In fact, i already had this problem since 0.3.3 plugin version:

viewtopic.php?f=9&t=563&hilit=mediamonk ... 180#p21927

Thanks

Re: Media Player Classic

Posted: Sun Feb 10, 2013 6:55 am
by nonob
I stumbled upon a problem just after upgrading from EventGhost_0.4.1.r1572. The problem started appearing in r1580.
If i activate the Media Player Classic Plugin and i open a video file with MPC, an additional empty MPC window is opened.

eventghost_r1580_mpc-hc_bug.PNG
+1:

I have the same problem with MPC-HC.1.6.5.6366.x86 and EventGhost_0.4.1.r1610 and mpchc plugin 2.5.

EDIT:
I found the problem:
As mentionned in plugin settings:

Image

I checked my mpchc settings and it wasn't the good setting,..., this is the good one:

Image
But i always have the ID keys problem.
Some of them are: "Menu DVD", "Up,down,left,right DVD" ..etc..
My test were wrong because i had the window problem.
Now it seems to work fine too :)

Re: Media Player Classic

Posted: Sun Feb 10, 2013 12:24 pm
by Pako
nonob wrote:C:\Program Files\MediaPlayerClassic\mpc-hc.exe
instead of good one :
C:\Program Files\Media Player Classic - Home Cinema\mpc-hc.exe

So i changed it and it works now, i haven't error message anymore.
nonob wrote:EDIT:
I found the problem:
As mentionned in plugin settings: ...
I checked my mpchc settings and it wasn't the good setting,...,
this is the good one: ...
We call it "sabotage" :D .

Other problems related to MediaMonkey please write to the appropriate topic.

Pako

Re: Media Player Classic

Posted: Sun Feb 10, 2013 10:53 pm
by liggers
Pako wrote:That's interesting. I tried, as you describe it, but nothing bad happened.
But then I tried the same way to open a file located on a network drive. And voila - now the problem appeared!

I found that the problem lies in the fact that EventGhost is trying to connect with MPC-HC when MPC-HC is in a "Not responding".
So I had to add a loop in which the above condition is tested. EventGhost will try to connection only at the point when MPC-HC is responsible.

You can download the corrected plugin from the SVN repository.
It is possible that the some problem will reappear, but it should be much better. During my testing, everything was fine.

Pako
The revision 1616 doesn't fix the problem, it just delayed the opening of the second MPC window.
But i use the option in MPC that says "Open a new player for each media file played".
I suppose i have to stick to plugin revision 1560 if the new plugin can't support this option in MPC.

liggers

Re: Media Player Classic

Posted: Mon Feb 11, 2013 7:14 am
by Pako
liggers wrote:The revision 1616 doesn't fix the problem, it just delayed the opening of the second MPC window.
But i use the option in MPC that says "Open a new player for each media file played".
I suppose i have to stick to plugin revision 1560 if the new plugin can't support this option in MPC.
Yes, in this case, you have bad luck and you have to use plugins version 1.x.
The last version was 1.7, which was included in EventGhost r1572. For plugins version 2.0 and later, this rule applies:
MPC-HC_settings.png
The way back is not possible. Version 2.x have much more options. Some functions (which are now included in the plugin) would not have been possible before.

Pako

Re: Media Player Classic

Posted: Mon Feb 11, 2013 8:44 am
by liggers
Pako wrote:Yes, in this case, you have bad luck and you have to use plugins version 1.x.
The last version was 1.7, which was included in EventGhost r1572. For plugins version 2.0 and later, this rule applies:
The way back is not possible. Version 2.x have much more options. Some functions (which are now included in the plugin) would not have been possible before.

Pako
I just updated/corrected the few IDs i need for SendMessage in plugin version 1.7, works like a charm.
FYI: This description box you showed doesn't exist if i run Eventghost with German language, this is why i never knew about this restriction.

Thanks for the help anyway!

liggers