Difference between revisions of "ISDBSongData::PreviewPath"

From MediaMonkey Wiki
Jump to: navigation, search
Line 2: Line 2:
===Property description===
===Property description===
Note Related Table columns [[Songs_table#PreviewState|PreviewState]], [[Songs_table#PreviewStartTime|PreviewStartTime]], [[Songs_table#PreviewLength|PreviewLength]].
{{Property Summary|SongData|PreviewPath|String|Songs|PreviewName|Text||<Mask>(pvw).mp3|}}
{{Property Summary|SongData|PreviewPath|String|Songs|PreviewName|Text||<Mask>(pvw).mp3|}}

Latest revision as of 01:15, 8 May 2008

CoClass SDBSongData, Interface ISDBSongData

Property Get PreviewPath As String

Property description

Note Related Table columns PreviewState, PreviewStartTime, PreviewLength.

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