From MediaMonkey Wiki
Revision as of 14:58, 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 StopTime As Long

Property description

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

Some tracks has long finish/applause 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 StopTime
Value Type Value
Database Table Songs
Field Name StopTime
Field Type Integer

Example Code

Complete script


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