ISDBSongData::Cached

From MediaMonkey Wiki
Jump to navigation Jump to search

CoClass SDBSongData, Interface ISDBSongData

Property Get/Let Cached As EnumCacheStatus


Property description

Determines if a song is cached on the Virtual CD.

Cached
Scripting Object SDBSongData
Value Name Cached
Value Type Value
Database Table Songs
Field Name CacheStatus
Field Type Integer
Tracklist Column (Properties) Virtual CD

Example Code

Complete script

Sub

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

Related Topics