From MediaMonkey Wiki
Revision as of 01:00, 8 May 2008 by MoDementia (talk | contribs)
Jump to: navigation, search

CoClass SDBSongData, Interface ISDBSongData

Property Get PreviewPath As String

Property description

Scripting Object SDBSongData
Value Name PreviewPath
Value Type String
Database Table Songs
Field Name PreviewName
Field Type Text
Example Data <Mask>(pvw).mp3

Example Code

Complete script


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