From MediaMonkey Wiki
Jump to: navigation, search

CoClass SDBSongData, Interface ISDBSongData

Property Get/Let Grouping As String

Property description

Edit 'Grouping' field of a track.

Introduced in MediaMonkey

Scripting Object SDBSongData
Value Name Grouping
Value Type String
Database Table Songs
Field Name GroupDesc
Field Type Text
Tracklist Column Grouping

Example Code

Complete script


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