ISDBSongData::Album

From MediaMonkey Wiki
Jump to: navigation, search

CoClass SDBSongData, Interface ISDBSongData

Property Get Album As ISDBAlbum


Property description

Returns SDBAlbum object of this track.

Album
Scripting Object SDBSongData
Value Name Album
Value Type Object
Database Table Album Covers
Field Name See Members
Field Type Mixed
Hierarchy Sub List
Members SDBAlbum

Example Code

Complete script

Sub

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