Background scripts

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

Moderator: Gurus

Background scripts

Postby paulmarkj » Sun Apr 18, 2010 6:58 am

I'd like to write a script that runs in the background all the time (to monitor what is being played). Is this possible with VBscripts?

Basically, it would collect information about what is playing and store this in the database. I can collect the info and store it, but not as a continuous background task.
paulmarkj
 
Posts: 11
Joined: Sat Jan 12, 2008 8:40 am

Re: Background scripts

Postby trixmoto » Sun Apr 18, 2010 10:37 am

I'm a little confused about exactly what you're trying to do, as play history is already stored in the database. What extra information are you wanting to store? It would be much more efficient for use the events such as "OnPlay" to trigger these updates, rather than have it looping continuously, although with a timer this would be possible.
Check out my scripts at trixmoto.net and subscribe to my RSS feed for updates.
Also check out my Uniface blog.
Get a free Dropbox account! :o

Image
trixmoto
 
Posts: 9703
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK

Re: Background scripts

Postby MM_Fan » Sun Apr 18, 2010 8:21 pm

Also see Event Logger script: viewtopic.php?f=2&t=37040
MM_Fan
 


Return to Addons developer forum

Who is online

Users browsing this forum: No registered users and 0 guests