From MediaMonkey Wiki
Jump to navigation Jump to search

CoClass SDBSongData, Interface ISDBSongData

Property Get/Let OriginalTitle As String

Property description

Scripting Object SDBSongData
Value Name OriginalTitle
Value Type String
Database Table Songs
Field Name OrigTitle
Field Type Text
Tracklist Column Original Title
Example Data Waterloo

Example Code

Complete script


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