now playing list altered

Download and get help for different MediaMonkey Addons.

Moderators: Peke, Gurus

Posts: 26
Joined: Wed Nov 30, 2005 11:23 pm

now playing list altered

Post by darchangel » Fri Jun 08, 2007 3:42 pm

I'm most of the way through writing my first MM app. However there is only 1 thing I haven't been able to do. I want to be able to tell when the now playing list has been altered. Altered= order of items have been changed or items have been added or removed.

I'd also like to be able to be notified of the change of state of the shuffle and repeat buttons but I just have a thread checking for that every so often. Since there is only 1 bool to check for each, it's quick. I thought about doing the same with the now playing problem, but with long playlists, the overhead is significant.

Can anyone lend a hand?

Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK

Post by trixmoto » Fri Jun 08, 2007 5:33 pm

I don't think this is possible (except for the monitoring that you've already considered) as you'd need an event to be fired by MM and there currently isn't a relevant one. Maybe the devs will add one though! :)
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.

Post Reply