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===
Returns list of album art items associated with this track as [[SDBAlbumArtList]].
{{Property Summary|SongData|AlbumArt|ObjectList|Covers|All|Mixed|||}}
{{Property Summary|SongData|AlbumArt|ObjectList|Covers|All|Mixed|||}}
Returns list of album art items associated with this track as [[SDBAlbumArtList]].
[[Category:Scripting|{{PAGENAME}}]]
[[Category:Scripting|{{PAGENAME}}]]
[[Category:Automation objects|{{PAGENAME}}]]
[[Category:Automation objects|{{PAGENAME}}]]
[[Category:CoClass SDBSongData|{{PAGENAME}}]]
[[Category:CoClass SDBSongData|{{PAGENAME}}]]
[[Category:Interface ISDBSongData|{{PAGENAME}}]]
[[Category:Interface ISDBSongData|{{PAGENAME}}]]

Revision as of 04:09, 11 April 2008

CoClass SDBSongData, Interface ISDBSongData

Property Get AlbumArt As SDBAlbumArtList


Property description

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

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