ISDBSongData::Custom5

From MediaMonkey Wiki
Jump to navigation Jump to search

CoClass SDBSongData, Interface ISDBSongData

Property Get/Let Custom5 As String


Property description

The Tracklist Column is configurable in Options --> Library --> Appearence

Custom5
Scripting Object SDBSongData
Value Name Custom5
Value Type String
Database Table Songs
Field Name Custom5
Field Type Text
Tracklist Column Custom 5

Example Code

Complete script

Sub

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