ISDBSongData::AlbumName

From MediaMonkey Wiki
Jump to: navigation, search

CoClass SDBSongData, Interface ISDBSongData

Property Get/Let AlbumName As String


Property description

AlbumName
Scripting Object SDBSongData
Value Name AlbumName
Value Type String
Database Table Songs
Field Name Album
Field Type Text
Tracklist Column Album
Example Data Gold: Greatest Hits

Example Code

Complete script

Sub

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