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.
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.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.
Link is right. I have no idea where the problem is. Try restarting the EG.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.
You probably run MM through the action Start MedaMonkey.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're dead right! Come to think of it, I don't need a fullsize MM ...Pako wrote:I did not want a visible window at start.
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: MMCode: 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 Thank you for trying to find the cause.GBWebmaster wrote:After closing MM four times in one minute ...