I'm doing this to add a song:
Dim songData As New SDBSongData
songData.Path = "c:\test.mp3"
songData.UpdateDB
When doing this, is there some way to tell MM to figure out the details itself? Like file save, song name, genre, etc? (I'd assume by ID3 info). I could fill out each member, but for some fields I'd have to go mucking through the ID3 info myself, which I rather not have to do.
Thanks
-Greg
Add Song - Auto get info
I'm not 100% sure but try with:
You Should Look Into Scripting Manual on Developer page.
Code: Select all
Dim TempSongData
Set TempSongData = SDB.NewSongData
TempSongData.Path = "c:\test.mp3"
TempSongData.MetadataFromFilename
If TempSongData.ReadTags Then
;Some Code
;...
End if
;Some Code
;...
; On End Write Songdata into File
If TempSongData.WriteTags then
;Some Code
;...
End IF
Best regards,
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying



How to attach PICTURE/SCREENSHOTS to forum posts
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying



How to attach PICTURE/SCREENSHOTS to forum posts