ISDBSongData::AlbumArtistName

From MediaMonkey Wiki
Jump to: navigation, search

CoClass SDBSongData, Interface ISDBSongData

Property Get/Let AlbumArtistName As String


Property description

AlbumArtistName
Scripting Object SDBSongData
Value Name AlbumArtistName
Value Type String
Database Table Songs
Field Name AlbumArtist
Field Type Text
Tracklist Column Album Artist
Example Data ABBA

Example Code

Complete script

Sub

  For iCounter = 0 to objSongList.count - 1                                    'SongLists
      Set objSongData = objSongList.Item(iCounter)
      StringAlbumArtistName = objSongData.AlbumArtistName
      SDB.MessageBox "Value = '" &  StringAlbumArtistName & "'", mtError, Array(mbOK)    'SDB.MessageBox
  Next
' objSongData.AlbumArtistName = StringNewAlbumArtistName 'Commented Out For Safety
' objSonglist.UpdateAll              'Commented Out For Safety                 'UpdateAll
                         Updates db and writes tags (if checked in options)
End Sub