is it possible to call a mediamonkey script from EG. I am currently doing it using global hotkeys in MM and simulating keypresses in EG but this is not ideal!
Maybe this is easy if you know how to do it? I have no idea.
Thanks,
James
I then need to close and reopen eventGhost to get normal function again.Error in Action: "MediaMonkey: Start/Connect MediaMonkey"
Traceback (most recent call last) (1194):
File "C:\Program Files\EventGhost\eg\Classes\ActionBase.py", line 168, in CallWrapper
File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 827, in __call__
File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 780, in GetValue
File "C:\Program Files\EventGhost\eg\Classes\ThreadWorker.py", line 72, in __call__
File "C:\Program Files\EventGhost\plugins\MediaMonkey\__init__.py", line 212, in GetValue
File "win32com\client\dynamic.pyc", line 501, in __getattr__
com_error: (-2147023174, 'The RPC server is unavailable.', None, None)
The "wait" or "do not wait" can not affect the acceleration of work MediaMonkey. It has a different meaning. You can choose between two options:jitterjames wrote:I don't notice any difference in speed from the old version. Load playlist by filter or sql is always slow no matter how I do it. Was this supposed to change with this version? I notice an option "wait" or "don't wait" but it doesn't seem to make a difference for me.
In the SVN repository is available corrected version. I hope, that I am in this fix not create a new bug. I tested very little.jitterjames wrote:I have 1 small but very annoying bug that seems to be new with this version. If I close mediamonkey manually (i.e. not by using eventghost) and then try to connect/start it using eventGhost I get the following error and it won't start ...
I then need to close and reopen eventGhost to get normal function again.
The current version of MediaMonkey, you can run a script only emulation of keystroke. This of course does not passing of parameter. The passing parameter can be performed by the writing to a file (I use for similar purposes a small RAM disk). The script can read parameter from this file.jitterjames wrote: Thanks again for your hard work, and for putting in the features I asked for. Any idea if it is possible to call a mediaMonkey script (ideally passing it a parameter)?
Why is that example hilarious?Loads a MediaMonkey playlist defined by SQL query.
This action is for advanced users only. Here you can write YOUR OWN SQL query and USE it to select specific songs from MediaMonkey's database . YOU NEED ONLY ENTER THE WHERE CLAUSE INTO THE TEXT FIELD, but you can also add AN ORDER BY clause and LIMIT clause (I tried the OFFSET clause too, but without success).
The simplest query might look like this: Artist = "Beatles".
MediaMonkey's database is based on SQLite. Its documentation can be found at http://www.sqlite.org/docs.html . If you are beginner to SQL, you might get some help from a SQL tutorial. One hilarious is for example at http://www.firstsql.com/tutor2.htm . Pay particular attention to the WHERE Clause .
I click ok and get:error#429
microsoft vbscript runtime error
activex component can't create object: 'eventghost'
file: ...\auto\evenghost.vbs line 35, column 15
then when I click OK, mediamonkey opens and eventghost closes.error happened during script execution:
activeX component can't create object: 'eventgost'
Of course, this is really great.jitterjames wrote:Sorry Pako, but where can I find the svn repository?
I looked on source forge but they only seem to have up to version 939 from may, 2009.
Edit: nevermind I found it...
Would you like me to edit the English text directly in the _init_.py file and send it back to you?
Bad Czech-English Dictionary.jitterjames wrote:Why is that example hilarious?
Yes, the problem is in the script "eventghost.vbs". I'll have to fix it.jitterjames wrote:Ooops. I now get very bizarre behaviour when I open mediaMonkey manually, but only if eventghost is not running.
If I try to open mediaMonkey manually when eventGhost is not running, it opens eventGhost! and then everything kind of freezes up and the mediaMonkey splash image stays on the screen with mediamonkey being minimized. very weird!
time passes...
OK I realize now that this has something to do with eventghost.vbs
If I remove it from the scripts/auto directory then everything is fine. That's not a big deal for me since I don't really use that function yet. Maybe one day I would like to though so maybe you could look into it at some point.
if I wait a long time (a couple minutes) mediaMonkey finally throws this error:I click ok and get:error#429
microsoft vbscript runtime error
activex component can't create object: 'eventghost'
file: ...\auto\evenghost.vbs line 35, column 15then when I click OK, mediamonkey opens and eventghost closes.error happened during script execution:
activeX component can't create object: 'eventgost'
So it looks like the vbs script needs to be more polite and check is eventghost is running or something, I guess?
LOL. I though maybe it was something like that.ad Czech-English Dictionary.
Very sorry FFE Software, Inc. !!!
Perhaps it could be as follows:
One well understood is for example at ...
Pako