ISDBSongData::StopTime

From MediaMonkey Wiki
Jump to navigation Jump to 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

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

Example Code

Complete script

Sub

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