MediaMonkey

Questions and comments specific to a particular plugin should go here.

Re: MediaMonkey

Postby nonob » Tue Jun 12, 2012 2:08 pm

But, i have another issue, if i close mediamonkey, i have a looping red errors lines in evenghost log, which doens't stop until i restart mediamonkey.., but so remote control doesn't work anymore, i have to retsart evenghost if i want it works again!


Pending i downgraded mediamonkey plugin from 0.3.3 to 0.2.12, and it works now..
nonob
Experienced User
 
Posts: 76
Joined: Tue Dec 06, 2011 6:52 am

Re: MediaMonkey

Postby Pako » Wed Jul 04, 2012 4:30 am

poleguy wrote:I noticed a bug causing errors to be spewed to the EventGhost screen when MediaMonkey was not running.
I added three lines to MediaMonkey\__init__.py fix this. Without this fix, the error flag is left set, and EventGhost apparently doesn't like this.
What does it mean "the error flag is left set"? Where I can see it?
However, I tried to find a simpler way to test that MM is running.
You can try it?
Code: Select all
    def isRunning(self): # the fastest way I found ...
        hwnd = FindWindowEx(None, None, "TFMainWindow", "MediaMonkey")
        return hwnd > 0
(this is a replacement of the function on line 1328)
poleguy wrote:I also had a problem where every time I got a play event it would trigger a Keyboard Space command, which would then stop the track, so I had to disable that event. I'm not sure why that happened, but if that is the default way this plugin comes up, that could be improved.
This is weird. I get only "Paused" and "Unpaused" events.

Pako
User avatar
Pako
Plugin Developer
 
Posts: 2258
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic

Re: MediaMonkey

Postby RURon » Thu Jul 19, 2012 8:00 am

Hello everyone.

I just upgraded from Mediamonkey3 to 4 (4.0.5.1496), removed the eventghost.vbs from the auto folder and installed the latest (0.3.3) EG script by Pako. Now a couple of things dont work anymore:

I let Pako's script start MM by using the load playlist by name command, which works. I can also let it quit, but for example stop, pause or next track do not work. I dont see any errors in EG log.

If I let the script first start MM with the start MM command, wait until MM is loaded and minimized by EG and then let MM load a playlist by name thru EG, I can use the pause,stop, skip commands successfully.

So what I do now is tolet EG start MM, then wait a safe amount of time, like 8 seconds, and then use the load playlist by name command - which is not very elegant of course?!

When I execute the start MM command while MM is already running (thru a previous start MM command), I see this in the log:

Code: Select all
Exception in thread MediaMonkeyWorkerThread:
Traceback (most recent call last):
  File "threading.pyc", line 532, in __bootstrap_inner
  File "threading.pyc", line 484, in run
  File "C:\Program Files (x86)\tools\EventGhost\eg\Classes\ThreadWorker.py", line 356, in __MainLoop
    self.Finish()
  File "C:\Program Files (x86)\tools\EventGhost\plugins\MediaMonkey\__init__.py", line 541, in Finish
    if self.events:
AttributeError: 'MediaMonkeyWorkerThread' object has no attribute 'events'


Then all commands are not working again, I cannot pause,stop, skip or do anything. Only the quit function works then. Then I can again start MM and commands are working again.

And I modified the detection code around line 1326 with the shorter version
Code: Select all
hwnd = FindWindowEx(None, None, "TFMainWindow", "MediaMonkey")
        return hwnd > 0


Any ideas to make this more robust?

Thanks for looking!
RURon
RURon
 
Posts: 6
Joined: Sat Feb 04, 2012 8:35 am

Re: MediaMonkey

Postby GBWebmaster » Sat Jul 21, 2012 10:41 pm

GBWebmaster wrote:I found a solution:
When I start MM with the event "MediaMonkey: Start MediaMonkey", then I get a lot of problems,
when I start MM with the event "Start Program: MediaMonkey.exe", then everything looks great - as yet.


Hy RURon,
have you tried the solution above. For me, it works great now ...
Für den, der nie das Rudel anführt,
wird sich die Aussicht nicht ändern.
User avatar
GBWebmaster
Experienced User
 
Posts: 114
Joined: Wed Sep 24, 2008 5:34 am

Re: MediaMonkey

Postby RURon » Mon Jul 23, 2012 7:19 am

Hello GBWebmaster,

thanks for your hint. It seems to work (mostly). What I observe with your method: When I manually exit MM, EG shows these errors in it's log:
This is probably only a cosmetic error. I'm happy that it works at all :-)

Code: Select all
Exception in thread MediaMonkeyWorkerThread:
Traceback (most recent call last):
  File "threading.pyc", line 532, in __bootstrap_inner
  File "threading.pyc", line 484, in run
  File "C:\Program Files (x86)\tools\EventGhost\eg\Classes\ThreadWorker.py", line 356, in __MainLoop
    self.Finish()
  File "C:\Program Files (x86)\tools\EventGhost\plugins\MediaMonkey\__init__.py", line 541, in Finish
    if self.events:
AttributeError: 'MediaMonkeyWorkerThread' object has no attribute 'events'
RURon
 
Posts: 6
Joined: Sat Feb 04, 2012 8:35 am

Re: MediaMonkey

Postby GBWebmaster » Mon Jul 23, 2012 9:47 pm

RURon wrote: When I manually exit MM, ...

Why don't you stop MM with the action "MediaMonkey: Exit/Disconnect MediaMonkey: True". I don't know these errors ...


Gruß GBWebmaster
Für den, der nie das Rudel anführt,
wird sich die Aussicht nicht ändern.
User avatar
GBWebmaster
Experienced User
 
Posts: 114
Joined: Wed Sep 24, 2008 5:34 am

Re: MediaMonkey

Postby RURon » Tue Jul 24, 2012 6:46 am

...well, sometimes I sit at the computer and just close MM manually...you know...the old-school way ;-)

I also noticed I have trouble sending the commands for play next or previous song (with the MM plugin functions) - just doesnt do anything (no errors either) but often locks up MM completely (freeze)...

Now I set up global hotkeys in MM for next and previous track and let EG send these hotkeys instead of calling the MM plugin functions. (I am not lucky in sending shortcut keys to MM when they are not global)

MM3 worked without any problems, but internet tagging doesnt work anymore...oh well!

Good day to everyone :)
RURon
 
Posts: 6
Joined: Sat Feb 04, 2012 8:35 am

Re: MediaMonkey

Postby nonob » Sun Feb 10, 2013 2:23 pm

But, i have another issue, if i close mediamonkey, i have a looping red errors lines in evenghost log, which doens't stop until i restart mediamonkey.., but so remote control doesn't work anymore, i have to retsart evenghost if i want it works again!

Here is the log :

Code: Select all
Task.ClosedWindow.MediaMonkey
    Traceback (most recent call last) (1568):
      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 1339, in checkIsRunning
        if not self.isRunning():
      File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1330, in isRunning
        hwnd = FindWindowEx(None, hwnd, "Winamp v1.x", None)
    error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
    Traceback (most recent call last) (1568):
      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 1339, in checkIsRunning
        if not self.isRunning():
      File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1330, in isRunning
        hwnd = FindWindowEx(None, hwnd, "Winamp v1.x", None)
    error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
    Traceback (most recent call last) (1568):
      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 1339, in checkIsRunning
        if not self.isRunning():
      File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1330, in isRunning
        hwnd = FindWindowEx(None, hwnd, "Winamp v1.x", None)
    error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
    Traceback (most recent call last) (1568):
      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 1339, in checkIsRunning
        if not self.isRunning():
      File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1330, in isRunning
        hwnd = FindWindowEx(None, hwnd, "Winamp v1.x", None)
    error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
    Traceback (most recent call last) (1568):
      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 1339, in checkIsRunning
        if not self.isRunning():
      File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1330, in isRunning
        hwnd = FindWindowEx(None, hwnd, "Winamp v1.x", None)
    error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
    Traceback (most recent call last) (1568):
      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 1339, in checkIsRunning
        if not self.isRunning():
      File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1330, in isRunning
        hwnd = FindWindowEx(None, hwnd, "Winamp v1.x", None)
    error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
    Traceback (most recent call last) (1568):
      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 1339, in checkIsRunning
        if not self.isRunning():
      File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1330, in isRunning
        hwnd = FindWindowEx(None, hwnd, "Winamp v1.x", None)
    error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
    Traceback (most recent call last) (1568):
      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 1339, in checkIsRunning
        if not self.isRunning():
      File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1330, in isRunning
        hwnd = FindWindowEx(None, hwnd, "Winamp v1.x", None)
    error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
    Traceback (most recent call last) (1568):
      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 1339, in checkIsRunning
        if not self.isRunning():
      File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1330, in isRunning
        hwnd = FindWindowEx(None, hwnd, "Winamp v1.x", None)
    error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
    Traceback (most recent call last) (1568):
      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 1339, in checkIsRunning
        if not self.isRunning():
      File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1330, in isRunning
        hwnd = FindWindowEx(None, hwnd, "Winamp v1.x", None)
    error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
    Traceback (most recent call last) (1568):
      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 1339, in checkIsRunning
        if not self.isRunning():
      File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1330, in isRunning
        hwnd = FindWindowEx(None, hwnd, "Winamp v1.x", None)
    error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
    Traceback (most recent call last) (1568):
      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 1339, in checkIsRunning
        if not self.isRunning():
      File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1330, in isRunning
        hwnd = FindWindowEx(None, hwnd, "Winamp v1.x", None)
    error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
    Traceback (most recent call last) (1568):
      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 1339, in checkIsRunning
        if not self.isRunning():
      File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1330, in isRunning
        hwnd = FindWindowEx(None, hwnd, "Winamp v1.x", None)
    error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
    Traceback (most recent call last) (1568):
      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 1339, in checkIsRunning
        if not self.isRunning():
      File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1330, in isRunning
        hwnd = FindWindowEx(None, hwnd, "Winamp v1.x", None)
    error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
    Traceback (most recent call last) (1568):
      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 1339, in checkIsRunning
        if not self.isRunning():
      File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1330, in isRunning
        hwnd = FindWindowEx(None, hwnd, "Winamp v1.x", None)
    error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
    Traceback (most recent call last) (1568):
      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 1339, in checkIsRunning
        if not self.isRunning():
      File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1330, in isRunning
        hwnd = FindWindowEx(None, hwnd, "Winamp v1.x", None)
    error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
    Traceback (most recent call last) (1568):
      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 1339, in checkIsRunning
        if not self.isRunning():
      File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1330, in isRunning
        hwnd = FindWindowEx(None, hwnd, "Winamp v1.x", None)
    error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
    Traceback (most recent call last) (1568):
      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 1339, in checkIsRunning
        if not self.isRunning():
      File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1330, in isRunning
        hwnd = FindWindowEx(None, hwnd, "Winamp v1.x", None)
    error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
    Task.Deactivated.EventGhost
    Task.Activated.Desktop
    Traceback (most recent call last) (1568):
      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 1339, in checkIsRunning
        if not self.isRunning():
      File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1330, in isRunning
        hwnd = FindWindowEx(None, hwnd, "Winamp v1.x", None)
    error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
    Traceback (most recent call last) (1568):
      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 1339, in checkIsRunning
        if not self.isRunning():
      File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1330, in isRunning
        hwnd = FindWindowEx(None, hwnd, "Winamp v1.x", None)
    error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
    Traceback (most recent call last) (1568):
      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 1339, in checkIsRunning
        if not self.isRunning():
      File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1330, in isRunning
        hwnd = FindWindowEx(None, hwnd, "Winamp v1.x", None)
    error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
    Traceback (most recent call last) (1568):
      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 1339, in checkIsRunning
        if not self.isRunning():
      File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1330, in isRunning
        hwnd = FindWindowEx(None, hwnd, "Winamp v1.x", None)
    error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
    Traceback (most recent call last) (1568):
      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 1339, in checkIsRunning
        if not self.isRunning():
      File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1330, in isRunning
        hwnd = FindWindowEx(None, hwnd, "Winamp v1.x", None)
    error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
    Traceback (most recent call last) (1568):
      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 1339, in checkIsRunning
        if not self.isRunning():
      File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1330, in isRunning
        hwnd = FindWindowEx(None, hwnd, "Winamp v1.x", None)
    error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
    Traceback (most recent call last) (1568):
      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 1339, in checkIsRunning
        if not self.isRunning():
      File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1330, in isRunning
        hwnd = FindWindowEx(None, hwnd, "Winamp v1.x", None)
    error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
    Traceback (most recent call last) (1568):
      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 1339, in checkIsRunning
        if not self.isRunning():
      File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1330, in isRunning
        hwnd = FindWindowEx(None, hwnd, "Winamp v1.x", None)
    error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
    Traceback (most recent call last) (1568):
      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 1339, in checkIsRunning
        if not self.isRunning():
      File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1330, in isRunning
        hwnd = FindWindowEx(None, hwnd, "Winamp v1.x", None)
    error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
    Traceback (most recent call last) (1568):
      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 1339, in checkIsRunning
        if not self.isRunning():
      File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1330, in isRunning
        hwnd = FindWindowEx(None, hwnd, "Winamp v1.x", None)
    error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
    Traceback (most recent call last) (1568):
      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 1339, in checkIsRunning
        if not self.isRunning():
      File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1330, in isRunning
        hwnd = FindWindowEx(None, hwnd, "Winamp v1.x", None)
    error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
    Traceback (most recent call last) (1568):
      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 1339, in checkIsRunning
        if not self.isRunning():
      File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1330, in isRunning
        hwnd = FindWindowEx(None, hwnd, "Winamp v1.x", None)
    error: (2, 'FindWindowEx', 'Le fichier sp\xe9cifi\xe9 est introuvable.')
    Task.NewWindow.MediaMonkey
    Task.Deactivated.Desktop
    Task.Activated.MediaMonkey
       Switch to mode: Mediamonkey
          Activation exclusive: MediaMonkey
    Task.Deactivated.MediaMonkey
    Task.Activated.EventGhost
    IgorPlugUSB.Unknown.289F87EBD4
       Toggle Play
          MediaMonkey: Toggle Play




I have evenghost 0.4.1.r1568 and mediamonkey plugin 0.3.3.


Hi,

I always have issue with mediamonkey plugin.

Now i use:
- EG 0.4.1.r1610
- mediamonkey plugin 0.3.4
- mediamonkey 4.0.7.1511.

If i start EG while mediamonkey isn't running i have this error message looping:

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
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.')


If y start mediamonkey, the error message stop.

If i close mediamonkey, error message is displayed again.
nonob
Experienced User
 
Posts: 76
Joined: Tue Dec 06, 2011 6:52 am

Re: MediaMonkey

Postby Pako » Mon Feb 11, 2013 9:35 am

For a long time I have searched the internet and finally I found the answer.
That I never knew that FindWindowEx function behaves differently in Windows 7 and newer, or Windows XP.

Today I had the opportunity to try it on a computer with Windows XP.
I received the same error message. So now I have to find a solution.

Pako
User avatar
Pako
Plugin Developer
 
Posts: 2258
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic

Re: MediaMonkey

Postby nonob » Mon Feb 11, 2013 10:34 am

Thanks, so i wait now :)
nonob
Experienced User
 
Posts: 76
Joined: Tue Dec 06, 2011 6:52 am

Re: MediaMonkey

Postby Pako » Mon Feb 11, 2013 6:47 pm

You can try the fixed version.
It can be downloaded from the SVN repository. Please use the right mouse button and Save target as ...

Pako
User avatar
Pako
Plugin Developer
 
Posts: 2258
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic

Re: MediaMonkey

Postby nonob » Tue Feb 12, 2013 7:24 pm

Hi,

Thanks, it works a little better, i haven't error message anymore when mediamonkey isn't started, but i had a little error message :

Code: Select all
         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 1357, in checkWinOpened
             self.checkOpened.eg.scheduler.AddTask(1, self.checkWinOpened)
         AttributeError: 'tuple' object has no attribute 'eg'


and after that, if i close mediamonkey, i can't start it anymore throught eventghost.
I have to restart eventghost .
nonob
Experienced User
 
Posts: 76
Joined: Tue Dec 06, 2011 6:52 am

Re: MediaMonkey

Postby Pako » Wed Feb 13, 2013 7:45 am

Oh, this is definitely my mistake (typo).
I do not understand how it got there.
I'm sorry.
From the SVN repository, you can download the fixed version.

Pako
User avatar
Pako
Plugin Developer
 
Posts: 2258
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic

Re: MediaMonkey

Postby nonob » Wed Feb 13, 2013 7:42 pm

Hi,

I have again a little issue:

I can start mediamonkey throught EG first time.
I can control mediamonkey.
But if i want to close mediamonkey throught "exit/disconnect mediamonkey" command, i have a red error message that is displayed:
"Application isn't started".

Then if i close media monkey manually, i can't restart it throught EG.Event is displayed without error message but nothing happen.

Here is the log:

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
Task.Activated.Desktop
IgorPlugUSB.Unknown.2AD7E1EBF4
   Switch to mode: Mediamonkey par TLC
      Activation exclusive: MediaMonkey
      Si le bouton est appuyé 1.0 secondes, aller à: Start/Connect MediaMonkey
      Start/Connect MediaMonkey
         MediaMonkey: Start MediaMonkey
         Speech: Speak: Démarrage de média monkey
            u'D\xe9marrage de m\xe9dia monkey'
Task.Created.MEDIAM~2
Task.NewWindow.MEDIAM~2
Task.Deactivated.Desktop
Task.Activated.MEDIAM~2
Task.Deactivated.MEDIAM~2
Task.ClosedWindow.MEDIAM~2
Task.Destroyed.MEDIAM~2
Task.Created.EventGhost
Task.NewWindow.EventGhost
Task.Activated.EventGhost
IgorPlugUSB.Unknown.289F87EBD4
   Toggle Play
      MediaMonkey: Toggle Play
IgorPlugUSB.Unknown.225F87AFD4
   Stop
      MediaMonkey: Stop
IgorPlugUSB.Unknown.2C9F87EBD4
   Exit/Disconnect MediaMonkey
      MediaMonkey: Quit (close) MediaMonkey
         L'application n'est pas lancée
Task.Deactivated.EventGhost
Task.Activated.Desktop
IgorPlugUSB.Unknown.2AD7E1EBF4
   Switch to mode: Mediamonkey par TLC
      Activation exclusive: MediaMonkey
      Si le bouton est appuyé 1.0 secondes, aller à: Start/Connect MediaMonkey
      Start/Connect MediaMonkey
         MediaMonkey: Start MediaMonkey
         Speech: Speak: Démarrage de média monkey
            u'D\xe9marrage de m\xe9dia monkey'
Task.Deactivated.Desktop
Task.Activated.EventGhost


Thanks
nonob
Experienced User
 
Posts: 76
Joined: Tue Dec 06, 2011 6:52 am

Re: MediaMonkey

Postby Pako » Thu Feb 14, 2013 7:19 am

I'm sorry, but described problem does not occur for me.
I do not know how I can invoke it.
Only in that case, I'll be able to fix it.

Pako
User avatar
Pako
Plugin Developer
 
Posts: 2258
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic

PreviousNext

Return to Plugin Support

Who is online

Users browsing this forum: No registered users and 3 guests