SDBSongData: Difference between revisions
Jump to navigation
Jump to search
MoDementia (talk | contribs) No edit summary |
|||
| (24 intermediate revisions by 7 users not shown) | |||
| Line 14: | Line 14: | ||
! Description | ! Description | ||
! | ! | ||
! Name | ! Tag Name | ||
! Value Type | ! Value Type | ||
! Possible Values | ! Possible Values | ||
! Description | ! Description | ||
|- | |||
|[[ISDBSongData::Actors|Actors]] | |||
|Property Get/Let | |||
| | |||
| | |||
|Actors | |||
|TEXT | |||
| | |||
|From MM version 4.0 | |||
|- | |- | ||
|[[ISDBSongData::Album|Album]] | |[[ISDBSongData::Album|Album]] | ||
| Line 24: | Line 33: | ||
| | | | ||
| | | | ||
| | |[[SDBAlbum]] | ||
| | | | ||
| | | | ||
| Line 33: | Line 42: | ||
| | | | ||
| | | | ||
| | |[[SDBAlbumArtList]] | ||
| | | | ||
| | | | ||
| Line 60: | Line 69: | ||
| | | | ||
| | | | ||
| | |[[SDBArtist]] | ||
| | | | ||
| | | | ||
| Line 108: | Line 117: | ||
| | | | ||
| | | | ||
|- | |||
|[[ISDBSongData::StartTime|StartTime]] | |||
|Property Get/Let | |||
| | |||
| | |||
|StartTime | |||
|INTEGER | |||
| | |||
|From MM version 4.0 | |||
|- | |||
|[[ISDBSongData::StopTime|StopTime]] | |||
|Property Get/Let | |||
| | |||
| | |||
|StopTime | |||
|INTEGER | |||
| | |||
|From MM version 4.0 | |||
|- | |||
|[[ISDBSongData::SkipCount|SkipCount]] | |||
|Property Get/Let | |||
| | |||
| | |||
|SkipCount | |||
|INTEGER | |||
| | |||
|From MM version 4.0 | |||
|- | |||
|[[ISDBSongData::TrackType|TrackType]] | |||
|Property Get/Let | |||
| | |||
| | |||
|TrackType | |||
|INTEGER | |||
| | |||
|From MM version 4.0 | |||
|- | |- | ||
|[[ISDBSongData::BPM|BPM]] | |[[ISDBSongData::BPM|BPM]] | ||
| Line 142: | Line 187: | ||
| | | | ||
| | | | ||
| | |||
| | |||
|- | |||
|[[ISDBSongData::canCrossfade|canCrossfade]] | |||
|Property Get/Set | |||
| | |||
| | |||
| | |||
|BOOLEAN | |||
| | | | ||
| | | | ||
| Line 223: | Line 277: | ||
|Custom5 | |Custom5 | ||
|TEXT | |TEXT | ||
| | |||
| | |||
|- | |||
|[[ISDBSongData::Date|Date]] | |||
|Property Get/Let | |||
| | |||
| | |||
| | |||
|[[DateType|DATE]] | |||
| | | | ||
| | | | ||
| Line 231: | Line 294: | ||
| | | | ||
|DateAdded | |DateAdded | ||
| | |[[DateType|DATE]] | ||
| | |||
| | |||
|- | |||
|[[ISDBSongData::DateDBModified|DateDBModified]] | |||
|Property Get | |||
| | |||
| | |||
| | |||
|[[DateType|DATE]] | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::Day|Day]] | |||
|Property Get/Let | |||
| | |||
| | |||
|Year[7,2] | |||
|INTEGER | |||
| | | | ||
| | | | ||
| Line 240: | Line 321: | ||
| | | | ||
| | | | ||
|INTEGER | |||
| | | | ||
| | |MM2 | ||
|- | |- | ||
|[[ISDBSongData::DiscNumberStr|DiscNumberStr]] | |[[ISDBSongData::DiscNumberStr|DiscNumberStr]] | ||
| Line 252: | Line 333: | ||
| | | | ||
| | | | ||
|- | |||
|[[ISDBSongData::Director|Director]] | |||
|Property Get/Let | |||
| | |||
| | |||
|Artist | |||
|TEXT | |||
| | |||
|From MM version 4.0 | |||
|- | |- | ||
|[[ISDBSongData::Encoder|Encoder]] | |[[ISDBSongData::Encoder|Encoder]] | ||
| Line 261: | Line 351: | ||
| | | | ||
| | | | ||
|- | |||
|[[ISDBSongData::EpisodeNumber|EpisodeNumber]] | |||
|Property Get/Let | |||
| | |||
| | |||
|EpisodeNumber | |||
|TEXT | |||
| | |||
|From MM version 4.0 | |||
|- | |- | ||
|[[ISDBSongData::FileLength|FileLength]] | |[[ISDBSongData::FileLength|FileLength]] | ||
| Line 276: | Line 375: | ||
| | | | ||
|FileModified | |FileModified | ||
| | |DATE | ||
| | | | ||
| | | | ||
| Line 338: | Line 437: | ||
| | | | ||
| | | | ||
| | | | ||
| | |BOOLEAN | ||
| | |||
| | |||
|- | |||
|[[ISDBSongData::isShuffleIgnored|isShuffleIgnored]] | |||
|Property Get/Let | |||
| | |||
| | |||
| | |||
|BOOLEAN | |||
| | | | ||
| | | | ||
| Line 348: | Line 456: | ||
| | | | ||
| | | | ||
|BOOLEAN | |||
| | | | ||
| | |Dynamic Check | ||
|- | |- | ||
|[[ISDBSongData::ISRC|ISRC]] | |[[ISDBSongData::ISRC|ISRC]] | ||
| Line 366: | Line 474: | ||
| | | | ||
|LastTimePlayed | |LastTimePlayed | ||
| | |DATE | ||
| | | | ||
| | | | ||
| Line 411: | Line 519: | ||
| | | | ||
|IDMedia | |IDMedia | ||
| | |[[SDBMedia]] | ||
| | | | ||
| | | | ||
| Line 420: | Line 528: | ||
| | | | ||
| | | | ||
| | |TEXT | ||
| | | | ||
| | | | ||
| Line 430: | Line 538: | ||
| | | | ||
| | | | ||
| | |||
| | |||
|- | |||
|[[ISDBSongData::Month|Month]] | |||
|Property Get/Let | |||
| | |||
| | |||
|Year[5,2] | |||
|INTEGER | |||
| | | | ||
| | | | ||
| Line 447: | Line 564: | ||
| | | | ||
| | | | ||
|TEXT | |||
| | | | ||
| | |Use Author | ||
|- | |- | ||
|[[ISDBSongData::Occasion|Occasion]] | |[[ISDBSongData::Occasion|Occasion]] | ||
| Line 491: | Line 608: | ||
| | | | ||
| | | | ||
|OrigYear | |OrigYear[1,4] | ||
|INTEGER | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::OriginalMonth|OriginalMonth]] | |||
|Property Get/Let | |||
| | |||
| | |||
|OrigYear[5,2] | |||
|INTEGER | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::OriginalDay|OriginalDay]] | |||
|Property Get/Let | |||
| | |||
| | |||
|OrigYear[7,2] | |||
|INTEGER | |INTEGER | ||
| | | | ||
| Line 504: | Line 639: | ||
| | | | ||
| | | | ||
|- | |||
|[[ISDBSongData::ParentalRating|ParentalRating]] | |||
|Property Get/Let | |||
| | |||
| | |||
|ParentalRating | |||
|TEXT | |||
| | |||
|From MM version 4.0 | |||
|- | |- | ||
|[[ISDBSongData::Path|Path]] | |[[ISDBSongData::Path|Path]] | ||
| Line 513: | Line 657: | ||
| | | | ||
| | | | ||
|- | |||
|[[ISDBSongData::SetPathByMask|SetPathByMask]] | |||
|Method | |||
| | |||
| | |||
|SongPath | |||
|TEXT | |||
| | |||
|From MM version 4.1 | |||
|- | |- | ||
|[[ISDBSongData::PeakValue|PeakValue]] | |[[ISDBSongData::PeakValue|PeakValue]] | ||
| Line 519: | Line 672: | ||
| | | | ||
| | | | ||
| | |REAL | ||
| | | | ||
| | | | ||
| Line 537: | Line 690: | ||
| | | | ||
| | | | ||
|INTEGER | |||
| | | | ||
| | |Dynamic Check | ||
|- | |- | ||
|[[ISDBSongData::PostGap|PostGap]] | |[[ISDBSongData::PostGap|PostGap]] | ||
| Line 564: | Line 717: | ||
| | | | ||
| | | | ||
| | |INTEGER | ||
| | | | ||
| | | | ||
| Line 576: | Line 729: | ||
| | | | ||
| | | | ||
|- | |||
|[[ISDBSongData::Producer|Producer]] | |||
|Property Get/Let | |||
| | |||
| | |||
|Producer | |||
|TEXT | |||
| | |||
|From MM version 4.0 | |||
|- | |- | ||
|[[ISDBSongData::Publisher|Publisher]] | |[[ISDBSongData::Publisher|Publisher]] | ||
| Line 609: | Line 771: | ||
| | | | ||
| | | | ||
|TEXT | |||
| | | | ||
| | |Rating (Not Used?) | ||
|- | |- | ||
|[[ISDBSongData::ReadTags|ReadTags]] | |[[ISDBSongData::ReadTags|ReadTags]] | ||
| Line 648: | Line 810: | ||
| | | | ||
| | | | ||
|- | |||
|[[ISDBSongData::Series|Series]] | |||
|Property Get/Let | |||
| | |||
| | |||
|Album | |||
|TEXT | |||
| | |||
|From MM version 4.0 | |||
|- | |||
|[[ISDBSongData::SeasonNumber|SeasonNumber]] | |||
|Property Get/Let | |||
| | |||
| | |||
|SeasonNumber | |||
|TEXT | |||
| | |||
|From MM version 4.0 | |||
|- | |- | ||
|[[ISDBSongData::SongID|SongID]] | |[[ISDBSongData::SongID|SongID]] | ||
| Line 654: | Line 834: | ||
| | | | ||
| | | | ||
|INTEGER | |||
| | | | ||
| | |Internal Use Only | ||
|- | |- | ||
|[[ISDBSongData::SongLength|SongLength]] | |[[ISDBSongData::SongLength|SongLength]] | ||
| Line 672: | Line 852: | ||
| | | | ||
| | | | ||
|TEXT | |||
| | | | ||
| | |SongLength Formatted | ||
|- | |- | ||
|[[ISDBSongData::Tempo|Tempo]] | |[[ISDBSongData::Tempo|Tempo]] | ||
| Line 708: | Line 888: | ||
| | | | ||
| | | | ||
|INTEGER | |||
| | | | ||
| | |MM2 | ||
|- | |- | ||
|[[ISDBSongData::TrackOrderStr|TrackOrderStr]] | |[[ISDBSongData::TrackOrderStr|TrackOrderStr]] | ||
| Line 716: | Line 896: | ||
| | | | ||
| | | | ||
|TrackNumber | |TrackNumber (TrackOrder), formatted (may have leading 0) | ||
|TEXT | |TEXT | ||
| | | | ||
| Line 747: | Line 927: | ||
| | | | ||
| | | | ||
|- | |||
|[[ISDBSongData::DiscardChanges|DiscardChanges]] | |||
|Method | |||
| | |||
| | |||
|Reverts changes made before calling UpdateDB | |||
| | |||
| | |||
|From MM version 4.1 | |||
|- | |- | ||
|[[ISDBSongData::VBR|VBR]] | |[[ISDBSongData::VBR|VBR]] | ||
| Line 753: | Line 942: | ||
| | | | ||
|VBR | |VBR | ||
| | |BOOLEAN | ||
| | | | ||
| | | | ||
| Line 770: | Line 959: | ||
| | | | ||
| | | | ||
|Year | |Year[1,4] | ||
|INTEGER | |INTEGER | ||
| | | | ||
| | | | ||
|- | |||
|[[ISDBSongData::MarkPlayed|MarkPlayed]] | |||
|Method | |||
| | |||
| | |||
|Time | |||
|REAL | |||
| | |||
|From MM version 4.0 | |||
|-} | |-} | ||
Latest revision as of 08:25, 4 August 2024
- SDBAlbum
- SDBAlbumArtItem
- SDBAlbumArtList
- SDBAlbums
- SDBApplication
- SDBArtist
- SDBArtists
- SDBCommonDialog
- SDBDatabase
- SDBDBIterator
- SDBDevice
- SDBDeviceList
- SDBDropTarget
- SDBDropTargetLast
- SDBDropTargetNext
- SDBDropTargetRip
- SDBFileSystem
- SDBHWEvents
- SDBImage
- SDBIniFile
- SDBMedia
- SDBMenuItem
- SDBPlayer
- SDBPlaylist
- SDBPlaylists
- SDBProgress
- SDBRegistry
- SDBScriptControl
- SDBSongData
- SDBSongIterator
- SDBSongList
- SDBStringList
- SDBTextFile
- SDBTimer
- SDBTools
- SDBTrackSynchStatus
- SDBTracksWindow
- SDBTree
- SDBTreeNode
- SDBUI
- SDBUIActiveX
- SDBUIButton
- SDBUICheckBox
- SDBUICommon
- SDBUIDockablePanel
- SDBUIDropDown
- SDBUIEdit
- SDBUIForm
- SDBUIGroupBox
- SDBUILabel
- SDBUIListBox
- SDBUIMaskEdit
- SDBUIMultiLineEdit
- SDBUIPanel
- SDBUIRadioButton
- SDBUISpinEdit
- SDBUITrackBar
- SDBUITranspPanel
- SDBUITreeList
- SDBUITreeListItem
- SDBWebSearch
CoClass SDBSongData
Object with all properties of a track. Corresponding Songs Table columns.
To apply changes made to a SongData object, be sure to call one or more of the methods UpdateAlbum, UpdateArtist, UpdateDB and/or WriteTags. In some cases, you can call the UpdateAll method of the SongList object containing the SongData object.
ISDBSongData members
| Name | Type | Description | Tag Name | Value Type | Possible Values | Description | |
|---|---|---|---|---|---|---|---|
| Actors | Property Get/Let | Actors | TEXT | From MM version 4.0 | |||
| Album | Property Get | SDBAlbum | |||||
| AlbumArt | Property Get | SDBAlbumArtList | |||||
| AlbumArtistName | Property Get/Let | AlbumArtist | TEXT | ||||
| AlbumName | Property Get/Let | Album | TEXT | ||||
| Artist | Property Get | SDBArtist | |||||
| ArtistName | Property Get/Let | Artist | TEXT | ||||
| Author | Property Get/Let | Author | TEXT | The Composer of the Song | |||
| Band | Property Get/Let | Band | TEXT | ||||
| Bitrate | Property Get/Let | Bitrate | INTEGER | ||||
| Bookmark | Property Get/Let | PlaybackPos | INTEGER | ||||
| StartTime | Property Get/Let | StartTime | INTEGER | From MM version 4.0 | |||
| StopTime | Property Get/Let | StopTime | INTEGER | From MM version 4.0 | |||
| SkipCount | Property Get/Let | SkipCount | INTEGER | From MM version 4.0 | |||
| TrackType | Property Get/Let | TrackType | INTEGER | From MM version 4.0 | |||
| BPM | Property Get/Let | BPM | INTEGER | Beats Per Minute | |||
| Cached | Property Get/Let | CacheStatus | INTEGER | ||||
| CachedPath | Property Get | CacheName | TEXT | ||||
| CalculateGapData | Method | ||||||
| canCrossfade | Property Get/Set | BOOLEAN | |||||
| Channels | Property Get/Let | Stereo | INTEGER | ||||
| Comment | Property Get/Let | Comment | TEXT | ||||
| Conductor | Property Get/Let | Conductor | TEXT | ||||
| Copyright | Property Get/Let | Copyright | TEXT | ||||
| Custom1 | Property Get/Let | Custom1 | TEXT | ||||
| Custom2 | Property Get/Let | Custom2 | TEXT | ||||
| Custom3 | Property Get/Let | Custom3 | TEXT | ||||
| Custom4 | Property Get/Let | Custom4 | TEXT | ||||
| Custom5 | Property Get/Let | Custom5 | TEXT | ||||
| Date | Property Get/Let | DATE | |||||
| DateAdded | Property Get/Let | DateAdded | DATE | ||||
| DateDBModified | Property Get | DATE | |||||
| Day | Property Get/Let | Year[7,2] | INTEGER | ||||
| DiscNumber | Property Get/Let | INTEGER | MM2 | ||||
| DiscNumberStr | Property Get/Let | DiscNumber | TEXT | ||||
| Director | Property Get/Let | Artist | TEXT | From MM version 4.0 | |||
| Encoder | Property Get/Let | Encoder | TEXT | ||||
| EpisodeNumber | Property Get/Let | EpisodeNumber | TEXT | From MM version 4.0 | |||
| FileLength | Property Get/Let | FileLength | INTEGER | ||||
| FileModified | Property Get/Let | FileModified | DATE | ||||
| GaplessBytes | Property Get/Let | GaplessBytes | INTEGER | ||||
| Genre | Property Get/Let | Genre | TEXT | ||||
| GetCopy | Method | ||||||
| Grouping | Property Get/Let | GroupDesc | TEXT | ||||
| ID | Property Get/Let | ID | INTEGER | AUTOINCREMENT (1 to inf.) | |||
| InvolvedPeople | Property Get/Let | InvolvedPeople | TEXT | ||||
| isBookmarkable | Property Get/Let | BOOLEAN | |||||
| isShuffleIgnored | Property Get/Let | BOOLEAN | |||||
| IsntInDB | Property Get/Let | BOOLEAN | Dynamic Check | ||||
| ISRC | Property Get/Let | ISRC | TEXT | ||||
| LastPlayed | Property Get/Let | LastTimePlayed | DATE | ||||
| Leveling | Property Get/Let | NormalizeTrack | REAL | ||||
| LevelingAlbum | Property Get/Let | NormalizeAlbum | REAL | ||||
| Lyricist | Property Get/Let | Lyricist | TEXT | ||||
| Lyrics | Property Get/Let | Lyrics | TEXT | ||||
| Media | Property Get | IDMedia | SDBMedia | ||||
| MediaLabel | Property Get | TEXT | |||||
| MetadataFromFilename | Method | ||||||
| Month | Property Get/Let | Year[5,2] | INTEGER | ||||
| Mood | Property Get/Let | Mood | TEXT | ||||
| MusicComposer | Property Get/Let | TEXT | Use Author | ||||
| Occasion | Property Get/Let | Occasion | TEXT | ||||
| OriginalArtist | Property Get/Let | OrigArtist | TEXT | ||||
| OriginalLyricist | Property Get/Let | OrigLyricist | TEXT | ||||
| OriginalTitle | Property Get/Let | OrigTitle | TEXT | ||||
| OriginalYear | Property Get/Let | OrigYear[1,4] | INTEGER | ||||
| OriginalMonth | Property Get/Let | OrigYear[5,2] | INTEGER | ||||
| OriginalDay | Property Get/Let | OrigYear[7,2] | INTEGER | ||||
| ParseText | Method | ||||||
| ParentalRating | Property Get/Let | ParentalRating | TEXT | From MM version 4.0 | |||
| Path | Property Get/Let | SongPath | TEXT | ||||
| SetPathByMask | Method | SongPath | TEXT | From MM version 4.1 | |||
| PeakValue | Property Get/Let | REAL | |||||
| PlayCounter | Property Get/Let | PlayCounter | INTEGER | ||||
| PlaylistOrder | Property Get/Let | INTEGER | Dynamic Check | ||||
| PostGap | Property Get/Let | PostGap | INTEGER | ||||
| PreGap | Property Get/Let | PreGap | INTEGER | ||||
| Preview | Property Get | INTEGER | |||||
| PreviewPath | Property Get | PreviewName | TEXT | ||||
| Producer | Property Get/Let | Producer | TEXT | From MM version 4.0 | |||
| Publisher | Property Get/Let | Publisher | TEXT | ||||
| Quality | Property Get/Let | Quality | TEXT | ||||
| Rating | Property Get/Let | Rating | INTEGER | ||||
| RatingString | Property Get/Let | TEXT | Rating (Not Used?) | ||||
| ReadTags | Method | ||||||
| ReadTagsAsExt | Method | ||||||
| RenameByMask | Method | ||||||
| SampleRate | Property Get/Let | SamplingFrequency | INTEGER | ||||
| Series | Property Get/Let | Album | TEXT | From MM version 4.0 | |||
| SeasonNumber | Property Get/Let | SeasonNumber | TEXT | From MM version 4.0 | |||
| SongID | Property Get | INTEGER | Internal Use Only | ||||
| SongLength | Property Get/Let | SongLength | INTEGER | ||||
| SongLengthString | Property Get | TEXT | SongLength Formatted | ||||
| Tempo | Property Get/Let | Tempo | TEXT | ||||
| Title | Property Get/Let | SongTitle | TEXT | ||||
| TotalSamples | Property Get/Let | TotalSamples | INTEGER | ||||
| TrackOrder | Property Get/Let | INTEGER | MM2 | ||||
| TrackOrderStr | Property Get/Let | TrackNumber (TrackOrder), formatted (may have leading 0) | TEXT | ||||
| UpdateAlbum | Method | ||||||
| UpdateArtist | Method | ||||||
| UpdateDB | Method | ||||||
| DiscardChanges | Method | Reverts changes made before calling UpdateDB | From MM version 4.1 | ||||
| VBR | Property Get/Let | VBR | BOOLEAN | ||||
| WriteTags | Method | ||||||
| Year | Property Get/Let | Year[1,4] | INTEGER | ||||
| MarkPlayed | Method | Time | REAL | From MM version 4.0 |