Event Logger
Version 2.7
- MediaMonkey Add-on -

by Zvezdan Dimitrijević

This add-on works with MediaMonkey v2.x-4.x. It allows logging of many MM events: OnPlay, OnStop, OnPause, OnSeek, OnTrackEnd, OnTrackSkipped, OnTrackProperties, OnTrackAdded, OnTrackDeleting, OnTrackConverted, OnBeforeTracksMove, OnStartUp, OnShutdown... The next data are stored in the log file: date/time, computer/user name, name of the event and track name. The location of the log file could be specified in the Options dialog box. The log file is saved in CSV format, so it could be imported e.g. in Excel. The events could be also displayed in real-time with the Event Viewer dockable panel.

For a discussion about this add-on, you could visit its related MediaMonkey forum thread. If you are using some skin which is not supported by default, you could take a look of skin styles for this add-on made by nynaevelan at the next forum thread.

You could also take a look on my other add-ons for MediaMonkey.


This add-on is donationware. It is developed by me in my own free time. I am not employed by Ventis Media, the company behind MediaMonkey, nor I've been paid by them for this add-on. So, if you found any of my add-ons useful and want to help their further development, it would be nice if you send me some small donation using PayPal. You could donate as much as you think that is appropriate, any amount would be really appreciated.

Euro (EUR) US Dollar (USD)


This add-on doesn't work with MediaMonkey v5! Actually, none add-on made for some previous version of program could work with MM5, either by me or by another authors, since MM5 has completely different programming interface than before. If you really like my add-on and think that it is essential for your work with the program, you have several possibilities:
- you could stay with MM4;
- you could ask MM developers to implement support for old add-ons in MM5;
- you could wait for me to port the add-on to MM5, but don't hold your breath.

What is new

v2.7 - 2016-11-29

v2.6 - 2015-10-15

v2.5 - 2015-06-20

v2.4.1 - 2012-02-06

v2.4 - 2012-02-04

v2.3 - 2011-06-22

v2.2.1 - 2009-06-27

v2.2 - 2009-05-13

v2.1 - 2009-03-04

v2.0 - 2009-03-01

v1.1.2 - 2009-02-07

v1.1.1 - 2009-02-06

v1.1 - 2009-02-06

v1.0 - 2009-02-05



Choose View | Event Viewer to show/hide dockable panel. The add-on settings are in the Tools | Options dialog box within the Event Logger sheet (turning on/off of events works immediately after the confirmation only with MM or higher).


The script developers could use this add-on to display some text from their code by placing few additional lines of code on the appropriate places in the script. The scripters could use MsgBox or SDB.MessageBox instead, but they will halt the execution of the script which is not always desirable. However, Event Logger and/or Event Viewer would log/display such messages without any break of the execution.


Here is what you should do if you want to use Event Viewer to display messages from your script:
- install Event Logger add-on;
- add the line Script.Include "Auto\EventLogger.vbs to your code, e.g. on its begin or end;
- add the line ViewEvent "some_text_e_g_script_name", "actual_text_e_g_some_variable" anywhere where you want to get the displayed message (for example, I could put ViewEvent "Magic Nodes", SDB.MainTree.CurrentNode.Caption in the OnChangedSelection event handler of my script);
- restart the program or use Script.Reload.

If you want to log messages, i.e. to get messages saved to the log file, you should use the LogEvent "abc", "xyz" syntax instead.


This add-on is a false positive reported as a worm by F-Secure. The author of F-Secure promised me that will update its database and put the add-on on white-list, but still didn't. If you go to the www.virustotal.com/en/ site, you will see that it is safe tested by 54 popular anti-virus engines; the only one reporting a worm in it is F-Secure.