From MediaMonkey Wiki
Revision as of 23:51, 7 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/Let OriginalArtist As String

Property description

Scripting Object SDBSongData
Value Name OriginalArtist
Value Type String
Database Table Songs
Field Name OrigArtist
Field Type Text
Tracklist Column Original Artist
Example Data Joe Blow

Example Code

Complete script


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