Where do I start?

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

Moderator: Gurus

CptCrunch
Posts: 4
Joined: Sun Mar 29, 2009 9:40 pm

Where do I start?

Post by CptCrunch » Sun Mar 29, 2009 9:47 pm

Hello everyone,

This is my first time here and would like to get started on scripting, mostly in C#. I looked up and down for the past few hours and could not find where I can download the API for MM, nor did I see any scripts made in C#, can anyone point me around?

Thanks!

nohitter151
Posts: 23640
Joined: Wed Aug 09, 2006 10:20 am
Location: NJ, USA
Contact:

Re: Where do I start?

Post by nohitter151 » Sun Mar 29, 2009 10:22 pm

As I understand scripts are written in VB script: http://www.mediamonkey.com/wiki/index.php/Scripting
MediaMonkey user since 2006
Need help? Got a suggestion? Can't find something?

Please no PMs in reply to a post. Just reply in the thread.

CptCrunch
Posts: 4
Joined: Sun Mar 29, 2009 9:40 pm

Re: Where do I start?

Post by CptCrunch » Mon Mar 30, 2009 9:50 am

nohitter151 wrote:As I understand scripts are written in VB script: http://www.mediamonkey.com/wiki/index.php/Scripting
Hrm, why is there a C# example? http://www.mediamonkey.com/wiki/index.p ... _scripting
make sure that you have added a reference to the SongsDB library
Where can I find this library at? I looked for a src folder, an api to download, and searched for it in my MM folder, no luck? Perhaps I over looked something it was in the middle of the night.

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

Re: Where do I start?

Post by trixmoto » Mon Mar 30, 2009 10:46 am

That example is in the "external scripts" section. You'd have to write an interal script in JScript or VBScript to trigger the C# script externally, as MM can only handle these languages itself.

My "Backup" script has an internal script (VBScript) which calls external scripts (also VBScript) so that the processing is down outside of MM and therefore does not affect performance. You can check out the code this script if you want an example of how to do this, it's in "Backup.vbs".
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.

CptCrunch
Posts: 4
Joined: Sun Mar 29, 2009 9:40 pm

Re: Where do I start?

Post by CptCrunch » Mon Mar 30, 2009 12:11 pm

trixmoto wrote:That example is in the "external scripts" section. You'd have to write an interal script in JScript or VBScript to trigger the C# script externally, as MM can only handle these languages itself.

My "Backup" script has an internal script (VBScript) which calls external scripts (also VBScript) so that the processing is down outside of MM and therefore does not affect performance. You can check out the code this script if you want an example of how to do this, it's in "Backup.vbs".
I see that makes sense now, thank you for your help!

rovingcowboy
Posts: 14153
Joined: Sat Oct 25, 2003 7:57 am
Location: (Texas)
Contact:

Re: Where do I start?

Post by rovingcowboy » Mon Mar 30, 2009 9:18 pm

smart a.. remark which i do so well.

you don't start with a blue box. :lol: 8) :o
roving cowboy / keith hall. My skins http://www.mediamonkey.com/forum/viewto ... =9&t=16724 for some help check on Monkey's helpful messages at http://www.mediamonkey.com/forum/viewto ... 4008#44008 MY SYSTEMS.1.Jukebox WinXp pro sp 3 version 3.5 gigabyte mb. 281 GHz amd athlon x2 240 built by me.) 2.WinXP pro sp3, vers 2.5.5 and vers 3.5 backup storage, shuttle 32a mb,734 MHz amd athlon put together by me.) 3.Dell demension, winxp pro sp3, mm3.5 spare jukebox.) 4.WinXp pro sp3, vers 3.5, dad's computer bought from computer store. )5. Samsung Galaxy 5 Android 5) 6. Proscan tablet Android 4.3 ) 7. amd a8-5600 apu 3.60ghz mm version 4 windows 7 pro bought from computer store.

CptCrunch
Posts: 4
Joined: Sun Mar 29, 2009 9:40 pm

Re: Where do I start?

Post by CptCrunch » Wed Apr 01, 2009 9:12 pm

rovingcowboy wrote:smart a.. remark which i do so well.

you don't start with a blue box. :lol: 8) :o
Kinda lost, care to explain?

rovingcowboy
Posts: 14153
Joined: Sat Oct 25, 2003 7:57 am
Location: (Texas)
Contact:

Re: Where do I start?

Post by rovingcowboy » Fri Apr 03, 2009 10:00 pm

you ain't capt crunch? i thought you was, and every one knows who he was, I thought, :-?

he got his name from the whistle that was in the box of cereal back in the 70's or 80's he found he could
blow that thing in the phones and make the number tones and was calling all over the world from pay phones and never paid a penny for it.
he started a whole group of people doing it and then they got a box and put in buttons and got really good at it.
they called around the world from a pay phone one time to the one beside the one they dialed from and it cost nothing. UNTIL they caught him. then he spent time in jail for his free calls.
made the phone company change how the systems worked so he did. now those tone box'es wont work. 8)
roving cowboy / keith hall. My skins http://www.mediamonkey.com/forum/viewto ... =9&t=16724 for some help check on Monkey's helpful messages at http://www.mediamonkey.com/forum/viewto ... 4008#44008 MY SYSTEMS.1.Jukebox WinXp pro sp 3 version 3.5 gigabyte mb. 281 GHz amd athlon x2 240 built by me.) 2.WinXP pro sp3, vers 2.5.5 and vers 3.5 backup storage, shuttle 32a mb,734 MHz amd athlon put together by me.) 3.Dell demension, winxp pro sp3, mm3.5 spare jukebox.) 4.WinXp pro sp3, vers 3.5, dad's computer bought from computer store. )5. Samsung Galaxy 5 Android 5) 6. Proscan tablet Android 4.3 ) 7. amd a8-5600 apu 3.60ghz mm version 4 windows 7 pro bought from computer store.

Post Reply