From MediaMonkey Wiki
Jump to: navigation, search

CoClass SDBSongData, Interface ISDBSongData

Property Get CachedPath As String

Property description

Full path to the cached (Virtual CD) instance of the song. Empty is the song isn't cached.
Field Name not confirmed

Scripting Object SDBSongData
Value Name CachedPath
Value Type String
Database Table Songs
Field Name CacheName
Field Type Text

Example Code

Complete script


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

Related Topics