ISDBSongData::BPM

From MediaMonkey Wiki
Jump to navigation Jump to search

CoClass SDBSongData, Interface ISDBSongData

Property Get/Let BPM As Long


Property description

BPM
Scripting Object SDBSongData
Value Name BPM
Value Type Value
Database Table Songs
Field Name BPM
Field Type Integer
Tracklist Column BPM

Example Code

Complete script

Sub

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