ISDBSongData::AlbumArt: Difference between revisions

From MediaMonkey Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:


===Property description===
===Property description===
 
{{Property Summary|SongData|AlbumArt|ObjectList|Covers|All|Mixed|||}}
Returns list of album art items associated with this track as [[SDBAlbumArtList]].
Returns list of album art items associated with this track as [[SDBAlbumArtList]].



Revision as of 04:03, 11 April 2008

CoClass SDBSongData, Interface ISDBSongData

Property Get AlbumArt As SDBAlbumArtList


Property description

AlbumArt
Scripting Object SDBSongData
Value Name AlbumArt
Value Type ObjectList
Database Table Covers
Field Name All
Field Type Mixed
Members SDBAlbumArtList

Example Code

Complete script

Sub

  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
  Next
' 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

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