WorkerThread
Posted: Sun Mar 01, 2009 9:45 am
I would like to revise MediaMonkey plugin so that communication with the COM object was in a separate thread (as a plugin DVBviewer). I spent this many hours, but I do not have success. I did two test plugins. Are attached. Plugin "MMTestWithoutThread" works as expected, while the plugin "MMTestWithThread" does not work. There is this error:I need help.
Thanks, Pako
Code: Select all
Error in Action: "MMTestWithThread: Play"
Traceback (most recent call last) (851):
File "D:\Programs\E\EventGhost\eg\Classes\ActionBase.py", line 166, in CallWrapper
File "D:\Programs\E\EventGhost\plugins\MMTestWithThread\__init__.py", line 126, in __call__
File "D:\Programs\E\EventGhost\plugins\MMTestWithThread\__init__.py", line 108, in SendCommandThroughCOM
File "win32com\client\dynamic.pyc", line 500, in __getattr__
AttributeError: SongsDB.SDBApplication.PlayerThanks, Pako