Detecting changes to main tracks window

This forum is for questions / discussions regarding development of addons / tweaks for MediaMonkey for Windows 4.

Moderators: Gurus, Addon Administrators

flashk
Posts: 188
Joined: Sun Dec 11, 2005 5:04 pm

Detecting changes to main tracks window

Post by flashk »

Hi,

I want my script to be notified whenever there is a change to the main tracks window. I tried using the OnTrackListFilled event, but that doesn't handle all cases. For example, it doesn't get notified when the sort order changes or when an item is removed or dragged to a new position. Is there a way to handle these cases? If not, then is it possible to add this capability to the next release?
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Re: Detecting changes to main tracks window

Post by trixmoto »

I normally use OnChangedSelection but I don't know if this will cover everything that you're looking for.
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
flashk
Posts: 188
Joined: Sun Dec 11, 2005 5:04 pm

Re: Detecting changes to main tracks window

Post by flashk »

Thanks, but I don't think that covers what I want. I tried out OnNowPlayingModified, and that does exactly what I want, but only with the now playing list. If there was a similar OnTrackListModified event I would be a happy camper :D
Post Reply