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.

MediaMonkey

Questions and comments specific to a particular plugin should go here.
User avatar
jitterjames
Experienced User
Posts: 677
Joined: Thu Aug 13, 2009 4:36 pm
Location: Quebec, Canada
Contact:

Re: MediaMonkey

Post by jitterjames »

that sounds good. I will test it.

I was confused because you said that you did not want to do this:
Pako wrote:Yes, I understand. But this solution does not satisfy me. It has one big disadvantage.
User avatar
jitterjames
Experienced User
Posts: 677
Joined: Thu Aug 13, 2009 4:36 pm
Location: Quebec, Canada
Contact:

Re: MediaMonkey

Post by jitterjames »

where is the link or attachment?
User avatar
jitterjames
Experienced User
Posts: 677
Joined: Thu Aug 13, 2009 4:36 pm
Location: Quebec, Canada
Contact:

Re: MediaMonkey

Post by jitterjames »

maybe you mean this one: https://eventghost.svn.sourceforge.net/ ... _init__.py

I tried it and it does not seem to generate events, but probably I have done something wrong. Or maybe it is the wrong link.
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: MediaMonkey

Post by Pako »

jitterjames wrote:that sounds good. I will test it.

I was confused because you said that you did not want to do this:
Pako wrote:Yes, I understand. But this solution does not satisfy me. It has one big disadvantage.
I understand, but it related solely to the fact that the connection was always just at the moment when some command was sent.

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

Re: MediaMonkey

Post by Pako »

jitterjames wrote:where is the link or attachment?

maybe you mean this one: https://eventghost.svn.sourceforge.net/ ... _init__.py

I tried it and it does not seem to generate events, but probably I have done something wrong. Or maybe it is the wrong link.
HereLink.png
HereLink.png (8.31 KiB) Viewed 8496 times
Link is right. I have no idea where the problem is. Try restarting the EG.

Pako
User avatar
jitterjames
Experienced User
Posts: 677
Joined: Thu Aug 13, 2009 4:36 pm
Location: Quebec, Canada
Contact:

Re: MediaMonkey

Post by jitterjames »

sorry. it seems that UAC had blocked me from saving the new file, but I did not realise it. This version seems to work very well now. Thanks and Happy Holidays!
User avatar
GBWebmaster
Experienced User
Posts: 115
Joined: Wed Sep 24, 2008 5:34 am

Re: MediaMonkey

Post by GBWebmaster »

Hello Pako,

thank you for your Christmas Gift. :mrgreen:
Now it's great !!!!

EDIT: One problem I still have:
After start MM promptly minimized into the tray. What can I do to show MM in fullsize?


GBWebmaster
F├╝r den, der nie das Rudel anf├╝hrt,
wird sich die Aussicht nicht ändern.
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: MediaMonkey

Post by Pako »

GBWebmaster wrote:One problem I still have:
After start MM promptly minimized into the tray. What can I do to show MM in fullsize?
You probably run MM through the action Start MedaMonkey.

I did so on purpose. I did not want a visible window at start. :)
Well, so I will add there (I mean the action Start MedaMonkey) option to choose the method start (checkbox Start minimized).
For now you can solve it so that you use the action System/Start Application (instead the action Start MedaMonkey).

Pako
User avatar
GBWebmaster
Experienced User
Posts: 115
Joined: Wed Sep 24, 2008 5:34 am

Re: MediaMonkey

Post by GBWebmaster »

Pako wrote:I did not want a visible window at start. :)
You're dead right! Come to think of it, I don't need a fullsize MM ...
F├╝r den, der nie das Rudel anf├╝hrt,
wird sich die Aussicht nicht ändern.
User avatar
GBWebmaster
Experienced User
Posts: 115
Joined: Wed Sep 24, 2008 5:34 am

Re: MediaMonkey

Post by GBWebmaster »

Hello Pako,

I have some problems with the plugin.
Under certain circumstances the commands "Next", "Play", "Stop", ... don't work. And sometimes the plugin completely stop to work (with the following log):

Code: Select all

08:42:13   pythoncom error: Python error invoking COM method.
08:42:13   
08:42:13   Traceback (most recent call last):
08:42:13     File "win32com\server\policy.pyc", line 277, in _Invoke_
08:42:13     File "win32com\server\policy.pyc", line 282, in _invoke_
08:42:13     File "win32com\server\policy.pyc", line 585, in _invokeex_
08:42:13     File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 330, in OnPause
08:42:13       paused = ("Unpaused","Paused")[int(getattr(self.MM.Player, 'isPaused'))]
08:42:13     File "win32com\client\__init__.pyc", line 463, in __getattr__
08:42:13     File "win32com\client\__init__.pyc", line 456, in _ApplyTypes_
08:42:13   com_error: (-2147417856, 'Systemaufruf ist fehlgeschlagen.', None, None)
08:42:14   Unhandled exception in WorkerThread <MediaMonkeyWorkerThread>:
08:42:14   Callers stack:
08:42:14     File "threading.pyc", line 504, in __bootstrap
08:42:14     File "threading.pyc", line 532, in __bootstrap_inner
08:42:14     File "threading.pyc", line 484, in run
08:42:14     File "C:\Program Files\EventGhost\eg\Classes\ThreadWorker.py", line 354, in __MainLoop
08:42:14       self.__DoOneEvent()
08:42:14     File "C:\Program Files\EventGhost\eg\Classes\ThreadWorker.py", line 342, in __DoOneEvent
08:42:14       eg.PrintTraceback()
08:42:14     File "C:\Program Files\EventGhost\eg\Classes\ActionThread.py", line 92, in HandleAction
08:42:14       pluginInfo.treeItem.Refresh()
08:42:14     File "C:\Program Files\EventGhost\eg\Classes\ThreadWorker.py", line 69, in __call__
08:42:14       self.processed.set()
08:42:14     File "C:\Program Files\EventGhost\eg\Classes\EventGhostEvent.py", line 178, in Execute
08:42:14       eg.SetProcessingState(1, self)
08:42:14     File "C:\Program Files\EventGhost\eg\Core.py", line 251, in RunProgram
08:42:14       eg.indent = 0
08:42:14     File "C:\Program Files\EventGhost\eg\Classes\ActionItem.py", line 253, in Execute
08:42:14       eg.indent -= 1
08:42:14     File "C:\Program Files\EventGhost\eg\Classes\ActionBase.py", line 170, in CallWrapper
08:42:14       return self(*args)
08:42:14     File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1458, in __call__
08:42:14       self.plugin.workerThread.Call(partial(self.plugin.workerThread.Previous))
08:42:14   Traceback (most recent call last) (1544):
08:42:14     File "C:\Program Files\EventGhost\eg\Classes\ThreadWorker.py", line 326, in __DoOneEvent
08:42:14       self.HandleAction(action)
08:42:14     File "C:\Program Files\EventGhost\eg\Classes\ThreadWorker.py", line 289, in HandleAction
08:42:14       action()
08:42:14     File "C:\Program Files\EventGhost\eg\Classes\ThreadWorker.py", line 62, in __call__
08:42:14       self.returnValue = self.func(*self.args, **self.kwargs)
08:42:14     File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 473, in Previous
08:42:14       if self.isRunning():
08:42:14     File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 451, in isRunning
08:42:14       self.MM = Dispatch("SongsDB.SDBApplication")
08:42:14     File "win32com\client\__init__.pyc", line 95, in Dispatch
08:42:14     File "win32com\client\dynamic.pyc", line 108, in _GetGoodDispatchAndUserName
08:42:14     File "win32com\client\dynamic.pyc", line 85, in _GetGoodDispatch
08:42:14   com_error: (-2147417856, 'Systemaufruf ist fehlgeschlagen.', None, None)
08:42:15   MceRemote.Replay
08:42:15      Previous
08:42:15         MediaMonkey: Previous
08:42:15   Unhandled exception in WorkerThread <MediaMonkeyWorkerThread>:
08:42:15   Callers stack:
08:42:15     File "threading.pyc", line 504, in __bootstrap
08:42:15     File "threading.pyc", line 532, in __bootstrap_inner
08:42:15     File "threading.pyc", line 484, in run
08:42:15     File "C:\Program Files\EventGhost\eg\Classes\ThreadWorker.py", line 354, in __MainLoop
08:42:15       self.__DoOneEvent()
08:42:15     File "C:\Program Files\EventGhost\eg\Classes\ThreadWorker.py", line 342, in __DoOneEvent
08:42:15       eg.PrintTraceback()
08:42:15     File "C:\Program Files\EventGhost\eg\Classes\ActionThread.py", line 87, in HandleAction
08:42:15       action()
08:42:15     File "C:\Program Files\EventGhost\eg\Classes\ThreadWorker.py", line 62, in __call__
08:42:15       self.returnValue = self.func(*self.args, **self.kwargs)
08:42:15     File "C:\Program Files\EventGhost\eg\Classes\EventGhostEvent.py", line 178, in Execute
08:42:15       eg.SetProcessingState(1, self)
08:42:15     File "C:\Program Files\EventGhost\eg\Core.py", line 251, in RunProgram
08:42:15       eg.indent = 0
08:42:15     File "C:\Program Files\EventGhost\eg\Classes\ActionItem.py", line 253, in Execute
08:42:15       eg.indent -= 1
08:42:15     File "C:\Program Files\EventGhost\eg\Classes\ActionBase.py", line 170, in CallWrapper
08:42:15       return self(*args)
08:42:15     File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 1458, in __call__
08:42:15       self.plugin.workerThread.Call(partial(self.plugin.workerThread.Previous))
08:42:15   Traceback (most recent call last) (1544):
08:42:15     File "C:\Program Files\EventGhost\eg\Classes\ThreadWorker.py", line 326, in __DoOneEvent
08:42:15       self.HandleAction(action)
08:42:15     File "C:\Program Files\EventGhost\eg\Classes\ThreadWorker.py", line 289, in HandleAction
08:42:15       action()
08:42:15     File "C:\Program Files\EventGhost\eg\Classes\ThreadWorker.py", line 62, in __call__
08:42:15       self.returnValue = self.func(*self.args, **self.kwargs)
08:42:15     File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 473, in Previous
08:42:15       if self.isRunning():
08:42:15     File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 450, in isRunning
08:42:15       del self.MM
08:42:15   AttributeError: MM
Can you help me to find the reason why?
F├╝r den, der nie das Rudel anf├╝hrt,
wird sich die Aussicht nicht ändern.
User avatar
GBWebmaster
Experienced User
Posts: 115
Joined: Wed Sep 24, 2008 5:34 am

Re: MediaMonkey

Post by GBWebmaster »

The last 2 days MM works without any problems !!!
F├╝r den, der nie das Rudel anf├╝hrt,
wird sich die Aussicht nicht ändern.
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: MediaMonkey

Post by Pako »

It is quite possible that there is some problem.
But this is a little information. If it still will repeat, you need to find some context.

Pako
User avatar
GBWebmaster
Experienced User
Posts: 115
Joined: Wed Sep 24, 2008 5:34 am

Re: MediaMonkey

Post by GBWebmaster »

Sorry, but I have no more information, cause I had no loginformation.

Today I had the "old" problem. The commands "load playlist", "close MM into the tray" ... work very well, the commands "Stop", "Next", "Play" don't work.
And I don't know why !!!

GBWebmaster


P.S. I wish you a happy new year 2012 ...
F├╝r den, der nie das Rudel anf├╝hrt,
wird sich die Aussicht nicht ändern.
User avatar
GBWebmaster
Experienced User
Posts: 115
Joined: Wed Sep 24, 2008 5:34 am

Re: MediaMonkey

Post by GBWebmaster »

Hello Pako,

once more I had the problem with non-working events (look my last answer).

After closing MM four times in one minute , I get the following loginfo:

Code: Select all

22:47:21   Exception in thread MediaMonkeyWorkerThread:
22:47:21   Traceback (most recent call last):
22:47:21     File "threading.pyc", line 532, in __bootstrap_inner
22:47:21     File "threading.pyc", line 484, in run
22:47:21     File "C:\Program Files\EventGhost\eg\Classes\ThreadWorker.py", line 356, in __MainLoop
22:47:21       self.Finish()
22:47:21     File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 437, in Finish
22:47:21       if self.events:
22:47:21   AttributeError: 'MediaMonkeyWorkerThread' object has no attribute 'events'
22:47:21  
After this "error", MM works like he should. Is this helpful?

EDIT:
After the next start the old problem.
After a few starts more, the same loginfo and a working plugin ...
F├╝r den, der nie das Rudel anf├╝hrt,
wird sich die Aussicht nicht ändern.
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: MediaMonkey

Post by Pako »

GBWebmaster wrote:After closing MM four times in one minute ...
Thank you for trying to find the cause.
But can you clarify?
I do not understand. How can I to close something four times?
And using what? Through EG or by clicking the mouse in the window or using the tray icon context menu?

Pako
Post Reply