ISDBSongData::TrackType
CoClass SDBSongData, Interface ISDBSongData
Property Get/Let TrackType As Long
Property description
Sets/Gets 'Type' aka 'Track Type' value.
Value meaning:
0 = 'Music'
1 = 'Podcast'
2 = 'Audiobook'
3 = 'Classical Music'
4 = 'Music Video'
5 = 'Video'
6 = 'TV'
7 = 'Video Podcast'
Corresponding box is situated on the 'Properties' dialog.
Introduced into MediaMonkey version 4.0
Scripting Object | SDBSongData |
Value Name | TrackType |
Value Type | Value |
Database Table | Songs |
Field Name | TrackType |
Field Type | Integer |
Example Code
Sub For iCounter = 0 to objSongList.count - 1 'SongLists Set objSongData = objSongList.Item(iCounter) ValueTrackType = objSongData.TrackType SDB.MessageBox "Value = '" & ValueTrackType & "'", mtError, Array(mbOK) 'SDB.MessageBox Next ' objSongData.TrackType = ValueNewTrackType 'Commented Out For Safety ' objSonglist.UpdateAll 'Commented Out For Safety 'UpdateAll Updates db and writes tags (if checked in options) End Sub