ISDBSongData::Author
CoClass SDBSongData, Interface ISDBSongData
Property Get/Let Author As String
Property description
There is a redundant property, ISDBSongData::MusicComposer, in Media Monkey 2.5. Based on limited testing it appears that this property (Author) is the property to use. The ISDBSongData::UpdateDB and ISDBSongData::WriteTags methods seem to use the value from Author rather than the value in the ISDBSongData::MusicComposer property. Also, this value can be used to display data already in the database, while ISDBSongData::MusicComposer apparently does not.
The situation under MediaMonkey version 3.x is unknown.
Scripting Object | SDBSongData |
Value Name | Author |
Value Type | String |
Database Table | Songs |
Field Name | Author |
Field Type | Text |
Tracklist Column | Composer |
Example Data | Benny Andersson |
Example Code
Sub For iCounter = 0 to objSongList.count - 1 'SongLists Set objSongData = objSongList.Item(iCounter) StringAuthor = objSongData.Author SDB.MessageBox "Value = '" & StringAuthor & "'", mtError, Array(mbOK) 'SDB.MessageBox Next ' objSongData.Author = StringNewAuthor 'Commented Out For Safety ' objSonglist.UpdateAll 'Commented Out For Safety 'UpdateAll Updates db and writes tags (if checked in options) End Sub