From MediaMonkey Wiki
Revision as of 00:52, 22 May 2008 by MoDementia (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

CoClass SDBSongData, Interface ISDBSongData

Property Get MediaLabel As String

Property description

To be confirmed, could be Medias-ShowLabel

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


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