ISDBSongData::Cached: Difference between revisions

From MediaMonkey Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 3: Line 3:
===Property description===
===Property description===
Determines if a song is cached on the Virtual CD.
Determines if a song is cached on the Virtual CD.
{{Property Summary|SongData|Cached|Value|Songs|CacheStaus|Integer|(Properties) Virtual CD||}}
{{Property Summary|SongData|Cached|Value|Songs|CacheStatus|Integer|(Properties) Virtual CD||}}
=== Related Topics ===  
=== Related Topics ===  
*[[ISDBSongData::CachedPath]]
*[[ISDBSongData::CachedPath]]

Latest revision as of 07:37, 13 April 2008

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