ISDBSongData::Bitrate: 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|Bitrate|Value|Songs|Bitrate|Integer|Bitrate|256|}}


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

Latest revision as of 12:58, 11 April 2008

CoClass SDBSongData, Interface ISDBSongData

Property Get/Let Bitrate As Long


Property description

Bitrate
Scripting Object SDBSongData
Value Name Bitrate
Value Type Value
Database Table Songs
Field Name Bitrate
Field Type Integer
Tracklist Column Bitrate
Example Data 256

Example Code

Complete script

Sub

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