Difference between revisions of "ISDBSongData::SongLengthString"

From MediaMonkey Wiki
Jump to: navigation, search
 
 
Line 4: Line 4:
  
 
Length of track as a formatted string.
 
Length of track as a formatted string.
 
+
{{Property Summary|SongData|SongLengthString|String|Songs|SongLength|Text|Length|2:34|}}
 
[[Category:Scripting|{{PAGENAME}}]]
 
[[Category:Scripting|{{PAGENAME}}]]
 
[[Category:Automation objects|{{PAGENAME}}]]
 
[[Category:Automation objects|{{PAGENAME}}]]
 
[[Category:CoClass SDBSongData|{{PAGENAME}}]]
 
[[Category:CoClass SDBSongData|{{PAGENAME}}]]
 
[[Category:Interface ISDBSongData|{{PAGENAME}}]]
 
[[Category:Interface ISDBSongData|{{PAGENAME}}]]

Latest revision as of 01:45, 8 May 2008

CoClass SDBSongData, Interface ISDBSongData

Property Get SongLengthString As String


Property description

Length of track as a formatted string.

SongLengthString
Scripting Object SDBSongData
Value Name SongLengthString
Value Type String
Database Table Songs
Field Name SongLength
Field Type Text
Tracklist Column Length
Example Data 2:34

Example Code

Complete script

Sub

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