ISDBSongData::PreviewPath

From MediaMonkey Wiki
Jump to navigation Jump to search

CoClass SDBSongData, Interface ISDBSongData

Property Get PreviewPath As String


Property description

Note Related Table columns PreviewState, PreviewStartTime, PreviewLength.

PreviewPath
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

Sub

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