From MediaMonkey Wiki
Jump to navigation Jump to search

CoClass SDBSongData, Interface ISDBSongData

Property Get AlbumArt As SDBAlbumArtList

Property description

Returns list of album art items associated with this track as SDBAlbumArtList.

Scripting Object SDBSongData
Value Name AlbumArt
Value Type ObjectList
Database Table Covers File
Field Name See Members
Field Type Mixed
Tracklist Column (Properties)Album Art
Members SDBAlbumArtList

Example Code

Complete script


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

See also