View Single Post
Old 11th March 2006, 00:55   #353
shaneh
Major Dude
 
Join Date: Jan 2004
Location: Brisbane, Australia
Posts: 1,193
There isn't a MediaLibrary.Add function though??

Unfortuantly Winamp provides no means to just send a filename to the ML and have it read the info itself, you have to actually supply it. Which is what MediaLibrary::Insert attempts to do, but has some bugs.

I can see why playcount might be munged if there is no playcount for an item and you try to insert it. Although bitrate shouldnt have the problem and should just not be set - I will look at fixing it sometime.

When you run mp3tag, does it change the filenames?

For Each track In SendTo_Items
set theItem = LoadItem(track.filename)

If the filename changed the above wont work. Otherwise, it should be ok.

Last edited by shaneh; 11th March 2006 at 01:12.
shaneh is offline   Reply With Quote