Adding songs by script

Download and get help for different MediaMonkey for Windows 4 Addons.

Moderators: Peke, Gurus

TheRocket
Posts: 84
Joined: Sat Jan 17, 2004 4:42 pm
Location: Quebec, Canada

Adding songs by script

Post by TheRocket »

I'm thinking of doing a "Export Tracks And Library Data" script...

It will create a vbs that will add songs to another MM library...

But in script we cannot add a song (like mySongData = MediaMonkey.AddSong() and then fill the properties, and give the path to the song in the same folder as the script...

Can MM export this function? Or another manner than directly inserting values in database (can not be 100% accurate if new DB fields are added...)?
TheRocket
-- MMWBE 0.91 released! Get it here http://rocket.dyndns.info/mp3manager/mmwbe_v091.rar or see topic http://www.mediamonkey.com/forum/viewto ... 4005#34005 for more details!!!
jiri
Posts: 5419
Joined: Tue Aug 14, 2001 7:00 pm
Location: Czech Republic
Contact:

Post by jiri »

There isn't any easy way how to currently do this using scripting, thanks for pointing this out, it will be added.

Jiri
Guest

Re: Adding songs by script

Post by Guest »

TheRocket wrote:I'm thinking of doing a "Export Tracks And Library Data" script...

It will create a vbs that will add songs to another MM library...

But in script we cannot add a song (like mySongData = MediaMonkey.AddSong() and then fill the properties, and give the path to the song in the same folder as the script...

Can MM export this function? Or another manner than directly inserting values in database (can not be 100% accurate if new DB fields are added...)?
Post Reply