From MediaMonkey Wiki
Jump to: navigation, search

Property description

Month part of the full original date. It can be 1-12 or 0 in case it is unknown.

Scripting Object SDBSongData
Value Name OriginalMonth
Value Type Value
Database Table Songs
Field Name Year
Field Type Integer
Tracklist Column Date
Example Data 19741023

Example Code

Complete script


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