Difference between revisions of "ISDBSongData::PreviewPath"

From MediaMonkey Wiki
Jump to: navigation, search
 
Line 2: Line 2:
  
 
===Property description===
 
===Property description===
 
+
{{Property Summary|SongData|PreviewPath|String|Songs|PreviewName|Text||<Mask>(pvw).mp3|}}
  
 
[[Category:Scripting|{{PAGENAME}}]]
 
[[Category:Scripting|{{PAGENAME}}]]

Revision as of 01:00, 8 May 2008

CoClass SDBSongData, Interface ISDBSongData

Property Get PreviewPath As String


Property description

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