From MediaMonkey Wiki
Jump to: navigation, search

CoClass SDBSongData, Interface ISDBSongData

Property Get/Let Channels As EnumChannels

Property description

Scripting Object SDBSongData
Value Name Channels
Value Type Value
Database Table Songs
Field Name Stereo
Field Type Integer
Tracklist Column Channels
Example Data 1 (Stereo)

Example Code

Complete script


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