From MediaMonkey Wiki
Jump to: navigation, search

CoClass SDBSongData, Interface ISDBSongData

Property Get/Let Cached As EnumCacheStatus

Property description

Determines if a song is cached on the Virtual CD.

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


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