From MediaMonkey Wiki
Revision as of 14:56, 12 January 2010 by Ludek (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, 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

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

Example Code

Complete script


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