Newbie questions: Startup and Install

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

Moderator: Gurus

dtsig
Posts: 2981
Joined: Mon Jan 24, 2011 6:34 pm

Newbie questions: Startup and Install

Post by dtsig » Tue Jan 14, 2014 7:10 pm

In looking at working scripts .. not that samples .. I see subs like Install() or onStartup() (i think) and wondered if these are MMW specific. I don't find calls to them so does MMW look for these?

Just wondering
Where's the db and ini stored
Reporting Bugs
Where tags are stored

Not affiliated with MediaMonkey ... just a RABID user/lover
DTSig

trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Barton, UK
Contact:

Re: Newbie questions: Startup and Install

Post by trixmoto » Wed Jan 15, 2014 5:14 am

"OnStartup" is what is called by auto-run scripts, those are the ones that are placed in the "Auto" folder (see wiki).

"Install" is not a standard function, but it's common to have a sub of this nature. It is most likely called from the installation package during install (see wiki).
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.
Send me BTC: 34VQPVsf9mCeR4nfhFvvBYZqQ7LkqNZ8Mn
Send me LTC: 3P1mzrfbyscdhbxRpXLgKz7tufGAU3SrEG
Send me DOGE: 9xPpYSqgF7P5yQiqvE1VqWb4UjxVCCLFJ6
Check out these great cryptocurrency faucets... BTC / LTC / DOGE

dtsig
Posts: 2981
Joined: Mon Jan 24, 2011 6:34 pm

Re: Newbie questions: Startup and Install

Post by dtsig » Wed Jan 15, 2014 10:57 pm

Thanks for that .. i did find the one finally (onStartup) in the wiki but not the install.

I think things are starting to gell in my head. Now to get things out :)
Thanks again
Where's the db and ini stored
Reporting Bugs
Where tags are stored

Not affiliated with MediaMonkey ... just a RABID user/lover
DTSig

trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Barton, UK
Contact:

Re: Newbie questions: Startup and Install

Post by trixmoto » Mon Jan 20, 2014 3:57 am

Yeah, it took me a little while to find them on the wiki, and I knew they were definitely there somewhere! :)
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.
Send me BTC: 34VQPVsf9mCeR4nfhFvvBYZqQ7LkqNZ8Mn
Send me LTC: 3P1mzrfbyscdhbxRpXLgKz7tufGAU3SrEG
Send me DOGE: 9xPpYSqgF7P5yQiqvE1VqWb4UjxVCCLFJ6
Check out these great cryptocurrency faucets... BTC / LTC / DOGE

Post Reply