ISDBSongData::MediaLabel

From MediaMonkey Wiki
Jump to: navigation, search

CoClass SDBSongData, Interface ISDBSongData

Property Get MediaLabel As String


Property description

To be confirmed, could be Medias-ShowLabel

MediaLabel
Scripting Object SDBSongData
Value Name MediaLabel
Value Type String
Database Table Medias
Field Name ShowLabel
Field Type Text
Tracklist Column Media
Example Data Docs

Example Code

Complete script

Sub

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