ISDBSongData::StartTime

From MediaMonkey Wiki
Jump to navigation Jump to search

CoClass SDBSongData, Interface ISDBSongData

Property Get/Let StartTime As Long


Property description

Sets/Gets start time (in milliseconds) for playback of the track.

Some tracks has long preludes and they can be skipped by using this property. StartTime/StopTime properties correspond to the 'Start Time'/'Stop Time' edit boxes situated on 'Properties' -> 'Details' page.

Introduced into MediaMonkey version 4.0

StartTime
Scripting Object SDBSongData
Value Name StartTime
Value Type Value
Database Table Songs
Field Name StartTime
Field Type Integer

Example Code

Complete script

Sub

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