From MediaMonkey Wiki
Jump to: navigation, search

CoClass SDBSongData, Interface ISDBSongData

Property Get/Let LevelingAlbum As Double

Property description

Scripting Object SDBSongData
Value Name LevelingAlbum
Value Type Value
Database Table Songs
Field Name NormalizeAlbum
Field Type Numeric
Tracklist Column Album Volume
Example Data -2.8

Example Code

Complete script


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