ISDBSongData::Channels: Difference between revisions

From MediaMonkey Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:


===Property description===
===Property description===
{{Property Summary|SongData|Channels|Value|Songs|Stereo|Integer|Properties Details|Stereo|}}
{{Property Summary|SongData|Channels|Value|Songs|Stereo|Integer|Properties Details|1 (Stereo)|}}


[[Category:Scripting|{{PAGENAME}}]]
[[Category:Scripting|{{PAGENAME}}]]

Revision as of 00:37, 12 April 2008

CoClass SDBSongData, Interface ISDBSongData

Property Get/Let Channels As EnumChannels


Property description

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

Example Code

Complete script

Sub

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