Page 12 of 15

Re: MediaMonkey

Posted: Sat Dec 24, 2011 3:43 pm
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.

Re: MediaMonkey

Posted: Sat Dec 24, 2011 3:46 pm
by jitterjames
where is the link or attachment?

Re: MediaMonkey

Posted: Sat Dec 24, 2011 3:53 pm
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.

Re: MediaMonkey

Posted: Sat Dec 24, 2011 3:54 pm
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

Re: MediaMonkey

Posted: Sat Dec 24, 2011 4:02 pm
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 8507 times
Link is right. I have no idea where the problem is. Try restarting the EG.

Pako

Re: MediaMonkey

Posted: Sat Dec 24, 2011 7:00 pm
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!

Re: MediaMonkey

Posted: Sun Dec 25, 2011 9:22 am
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

Re: MediaMonkey

Posted: Sun Dec 25, 2011 12:00 pm
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

Re: MediaMonkey

Posted: Sun Dec 25, 2011 3:17 pm
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 ...

Re: MediaMonkey

Posted: Tue Dec 27, 2011 9:32 am
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?

Re: MediaMonkey

Posted: Thu Dec 29, 2011 9:03 pm
by GBWebmaster
The last 2 days MM works without any problems !!!

Re: MediaMonkey

Posted: Sat Dec 31, 2011 7:46 am
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

Re: MediaMonkey

Posted: Sun Jan 01, 2012 12:22 am
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 ...

Re: MediaMonkey

Posted: Mon Jan 30, 2012 9:59 pm
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 ...

Re: MediaMonkey

Posted: Wed Feb 01, 2012 7:12 am
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