SDBSongData: Difference between revisions
Jump to navigation
Jump to search
(27 intermediate revisions by 7 users not shown) | |||
Line 2: | Line 2: | ||
== CoClass SDBSongData == | == CoClass SDBSongData == | ||
Object with all properties of a track. | 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 [[ISDBSongData::UpdateAlbum|UpdateAlbum]], [[ISDBSongData::UpdateArtist|UpdateArtist]], [[ISDBSongData::UpdateDB|UpdateDB]] and/or [[ISDBSongData::WriteTags|WriteTags]]. In some cases, you can call the [[ISDBSongList::UpdateAll|UpdateAll]] method of the SongList object containing the SongData object. | To apply changes made to a SongData object, be sure to call one or more of the methods [[ISDBSongData::UpdateAlbum|UpdateAlbum]], [[ISDBSongData::UpdateArtist|UpdateArtist]], [[ISDBSongData::UpdateDB|UpdateDB]] and/or [[ISDBSongData::WriteTags|WriteTags]]. In some cases, you can call the [[ISDBSongList::UpdateAll|UpdateAll]] method of the SongList object containing the SongData object. | ||
Line 8: | Line 8: | ||
=== ISDBSongData members === | === ISDBSongData members === | ||
{ | {| border="1" | ||
|[[ISDBSongData:: | |- | ||
|[[ISDBSongData:: | ! Name | ||
|[[ | ! Type | ||
|[[ISDBSongData:: | ! Description | ||
|[ | ! | ||
|[[ISDBSongData:: | ! Tag Name | ||
|[[ISDBSongData:: | ! Value Type | ||
|[[ISDBSongData:: | ! Possible Values | ||
|[[ | ! Description | ||
|[[ISDBSongData:: | |- | ||
|[[ISDBSongData:: | |[[ISDBSongData::Actors|Actors]] | ||
| | |Property Get/Let | ||
|[[ISDBSongData:: | | | ||
| | | | ||
|[[ISDBSongData:: | |Actors | ||
| | |TEXT | ||
|[[ISDBSongData:: | | | ||
|[[ISDBSongData:: | |From MM version 4.0 | ||
|[[ISDBSongData:: | |- | ||
|[[ISDBSongData:: | |[[ISDBSongData::Album|Album]] | ||
|[[ISDBSongData:: | |Property Get | ||
|[[ISDBSongData:: | | | ||
| | | | ||
|[[ISDBSongData:: | | | ||
|[ | |[[SDBAlbum]] | ||
|[[ISDBSongData:: | | | ||
| | | | ||
|[[ISDBSongData:: | |- | ||
|[[ISDBSongData:: | |[[ISDBSongData::AlbumArt|AlbumArt]] | ||
|[[ISDBSongData:: | |Property Get | ||
|[[ISDBSongData:: | | | ||
| | | | ||
|[[ISDBSongData:: | | | ||
|[[ISDBSongData:: | |[[SDBAlbumArtList]] | ||
| | | | ||
|[[ISDBSongData:: | | | ||
| | |- | ||
|[[ISDBSongData:: | |[[ISDBSongData::AlbumArtistName|AlbumArtistName]] | ||
|[[ISDBSongData:: | |Property Get/Let | ||
| | | | ||
|[[ISDBSongData:: | | | ||
|[[ISDBSongData:: | |AlbumArtist | ||
|[[ | |TEXT | ||
|[[ISDBSongData:: | | | ||
|[[ | | | ||
|[[ISDBSongData:: | |- | ||
| | |[[ISDBSongData::AlbumName|AlbumName]] | ||
|[[ | |Property Get/Let | ||
|[[ISDBSongData:: | | | ||
|[ | | | ||
|[[ISDBSongData:: | |Album | ||
| | |TEXT | ||
|[[ISDBSongData:: | | | ||
|[[ISDBSongData:: | | | ||
| | |- | ||
|[[ISDBSongData:: | |[[ISDBSongData::Artist|Artist]] | ||
|[[ISDBSongData:: | |Property Get | ||
|[[ISDBSongData:: | | | ||
| | | | ||
|[[ISDBSongData:: | | | ||
| | |[[SDBArtist]] | ||
|[[ISDBSongData:: | | | ||
| | | | ||
|[[ISDBSongData:: | |- | ||
|[[ISDBSongData:: | |[[ISDBSongData::ArtistName|ArtistName]] | ||
|[[ISDBSongData:: | |Property Get/Let | ||
| | | | ||
| | | | ||
|[[ISDBSongData:: | |Artist | ||
| | |TEXT | ||
|[[ISDBSongData:: | | | ||
|[[ISDBSongData:: | | | ||
| | |- | ||
|[[ISDBSongData:: | |[[ISDBSongData::Author|Author]] | ||
|[[ISDBSongData:: | |Property Get/Let | ||
|[[ISDBSongData:: | | | ||
|[[ISDBSongData:: | | | ||
|[[ISDBSongData:: | |Author | ||
| | |TEXT | ||
|[[ISDBSongData:: | | | ||
|[[ISDBSongData:: | |The Composer of the Song | ||
| | |- | ||
|[[ISDBSongData:: | |[[ISDBSongData::Band|Band]] | ||
|Property Get/Let | |||
| | |||
| | |||
|Band | |||
|TEXT | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::Bitrate|Bitrate]] | |||
|Property Get/Let | |||
| | |||
| | |||
|Bitrate | |||
|INTEGER | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::Bookmark|Bookmark]] | |||
|Property Get/Let | |||
| | |||
| | |||
|PlaybackPos | |||
|INTEGER | |||
| | |||
| | |||
|- | |||
|[[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]] | |||
|Property Get/Let | |||
| | |||
| | |||
|BPM | |||
|INTEGER | |||
| | |||
|Beats Per Minute | |||
|- | |||
|[[ISDBSongData::Cached|Cached]] | |||
|Property Get/Let | |||
| | |||
| | |||
|CacheStatus | |||
|INTEGER | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::CachedPath|CachedPath]] | |||
|Property Get | |||
| | |||
| | |||
|CacheName | |||
|TEXT | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::CalculateGapData|CalculateGapData]] | |||
|Method | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::canCrossfade|canCrossfade]] | |||
|Property Get/Set | |||
| | |||
| | |||
| | |||
|BOOLEAN | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::Channels|Channels]] | |||
|Property Get/Let | |||
| | |||
| | |||
|Stereo | |||
|INTEGER | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::Comment|Comment]] | |||
|Property Get/Let | |||
| | |||
| | |||
|Comment | |||
|TEXT | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::Conductor|Conductor]] | |||
|Property Get/Let | |||
| | |||
| | |||
|Conductor | |||
|TEXT | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::Copyright|Copyright]] | |||
|Property Get/Let | |||
| | |||
| | |||
|Copyright | |||
|TEXT | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::Custom1|Custom1]] | |||
|Property Get/Let | |||
| | |||
| | |||
|Custom1 | |||
|TEXT | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::Custom2|Custom2]] | |||
|Property Get/Let | |||
| | |||
| | |||
|Custom2 | |||
|TEXT | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::Custom3|Custom3]] | |||
|Property Get/Let | |||
| | |||
| | |||
|Custom3 | |||
|TEXT | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::Custom4|Custom4]] | |||
|Property Get/Let | |||
| | |||
| | |||
|Custom4 | |||
|TEXT | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::Custom5|Custom5]] | |||
|Property Get/Let | |||
| | |||
| | |||
|Custom5 | |||
|TEXT | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::Date|Date]] | |||
|Property Get/Let | |||
| | |||
| | |||
| | |||
|[[DateType|DATE]] | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::DateAdded|DateAdded]] | |||
|Property Get/Let | |||
| | |||
| | |||
|DateAdded | |||
|[[DateType|DATE]] | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::DateDBModified|DateDBModified]] | |||
|Property Get | |||
| | |||
| | |||
| | |||
|[[DateType|DATE]] | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::Day|Day]] | |||
|Property Get/Let | |||
| | |||
| | |||
|Year[7,2] | |||
|INTEGER | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::DiscNumber|DiscNumber]] | |||
|Property Get/Let | |||
| | |||
| | |||
| | |||
|INTEGER | |||
| | |||
|MM2 | |||
|- | |||
|[[ISDBSongData::DiscNumberStr|DiscNumberStr]] | |||
|Property Get/Let | |||
| | |||
| | |||
|DiscNumber | |||
|TEXT | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::Director|Director]] | |||
|Property Get/Let | |||
| | |||
| | |||
|Artist | |||
|TEXT | |||
| | |||
|From MM version 4.0 | |||
|- | |||
|[[ISDBSongData::Encoder|Encoder]] | |||
|Property Get/Let | |||
| | |||
| | |||
|Encoder | |||
|TEXT | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::EpisodeNumber|EpisodeNumber]] | |||
|Property Get/Let | |||
| | |||
| | |||
|EpisodeNumber | |||
|TEXT | |||
| | |||
|From MM version 4.0 | |||
|- | |||
|[[ISDBSongData::FileLength|FileLength]] | |||
|Property Get/Let | |||
| | |||
| | |||
|FileLength | |||
|INTEGER | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::FileModified|FileModified]] | |||
|Property Get/Let | |||
| | |||
| | |||
|FileModified | |||
|DATE | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::GaplessBytes|GaplessBytes]] | |||
|Property Get/Let | |||
| | |||
| | |||
|GaplessBytes | |||
|INTEGER | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::Genre|Genre]] | |||
|Property Get/Let | |||
| | |||
| | |||
|Genre | |||
|TEXT | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::GetCopy|GetCopy]] | |||
|Method | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::Grouping|Grouping]] | |||
|Property Get/Let | |||
| | |||
| | |||
|GroupDesc | |||
|TEXT | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::ID|ID]] | |||
|Property Get/Let | |||
| | |||
| | |||
|ID | |||
|INTEGER | |||
|AUTOINCREMENT (1 to inf.) | |||
| | |||
|- | |||
|[[ISDBSongData::InvolvedPeople|InvolvedPeople]] | |||
|Property Get/Let | |||
| | |||
| | |||
|InvolvedPeople | |||
|TEXT | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::isBookmarkable|isBookmarkable]] | |||
|Property Get/Let | |||
| | |||
| | |||
| | |||
|BOOLEAN | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::isShuffleIgnored|isShuffleIgnored]] | |||
|Property Get/Let | |||
| | |||
| | |||
| | |||
|BOOLEAN | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::IsntInDB|IsntInDB]] | |||
|Property Get/Let | |||
| | |||
| | |||
| | |||
|BOOLEAN | |||
| | |||
|Dynamic Check | |||
|- | |||
|[[ISDBSongData::ISRC|ISRC]] | |||
|Property Get/Let | |||
| | |||
| | |||
|ISRC | |||
|TEXT | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::LastPlayed|LastPlayed]] | |||
|Property Get/Let | |||
| | |||
| | |||
|LastTimePlayed | |||
|DATE | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::Leveling|Leveling]] | |||
|Property Get/Let | |||
| | |||
| | |||
|NormalizeTrack | |||
|REAL | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::LevelingAlbum|LevelingAlbum]] | |||
|Property Get/Let | |||
| | |||
| | |||
|NormalizeAlbum | |||
|REAL | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::Lyricist|Lyricist]] | |||
|Property Get/Let | |||
| | |||
| | |||
|Lyricist | |||
|TEXT | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::Lyrics|Lyrics]] | |||
|Property Get/Let | |||
| | |||
| | |||
|Lyrics | |||
|TEXT | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::Media|Media]] | |||
|Property Get | |||
| | |||
| | |||
|IDMedia | |||
|[[SDBMedia]] | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::MediaLabel|MediaLabel]] | |||
|Property Get | |||
| | |||
| | |||
| | |||
|TEXT | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::MetadataFromFilename|MetadataFromFilename]] | |||
|Method | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::Month|Month]] | |||
|Property Get/Let | |||
| | |||
| | |||
|Year[5,2] | |||
|INTEGER | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::Mood|Mood]] | |||
|Property Get/Let | |||
| | |||
| | |||
|Mood | |||
|TEXT | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::MusicComposer|MusicComposer]] | |||
|Property Get/Let | |||
| | |||
| | |||
| | |||
|TEXT | |||
| | |||
|Use Author | |||
|- | |||
|[[ISDBSongData::Occasion|Occasion]] | |||
|Property Get/Let | |||
| | |||
| | |||
|Occasion | |||
|TEXT | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::OriginalArtist|OriginalArtist]] | |||
|Property Get/Let | |||
| | |||
| | |||
|OrigArtist | |||
|TEXT | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::OriginalLyricist|OriginalLyricist]] | |||
|Property Get/Let | |||
| | |||
| | |||
|OrigLyricist | |||
|TEXT | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::OriginalTitle|OriginalTitle]] | |||
|Property Get/Let | |||
| | |||
| | |||
|OrigTitle | |||
|TEXT | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::OriginalYear|OriginalYear]] | |||
|Property Get/Let | |||
| | |||
| | |||
|OrigYear[1,4] | |||
|INTEGER | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::OriginalMonth|OriginalMonth]] | |||
|Property Get/Let | |||
| | |||
| | |||
|OrigYear[5,2] | |||
|INTEGER | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::OriginalDay|OriginalDay]] | |||
|Property Get/Let | |||
| | |||
| | |||
|OrigYear[7,2] | |||
|INTEGER | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::ParseText|ParseText]] | |||
|Method | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::ParentalRating|ParentalRating]] | |||
|Property Get/Let | |||
| | |||
| | |||
|ParentalRating | |||
|TEXT | |||
| | |||
|From MM version 4.0 | |||
|- | |||
|[[ISDBSongData::Path|Path]] | |||
|Property Get/Let | |||
| | |||
| | |||
|SongPath | |||
|TEXT | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::SetPathByMask|SetPathByMask]] | |||
|Method | |||
| | |||
| | |||
|SongPath | |||
|TEXT | |||
| | |||
|From MM version 4.1 | |||
|- | |||
|[[ISDBSongData::PeakValue|PeakValue]] | |||
|Property Get/Let | |||
| | |||
| | |||
| | |||
|REAL | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::PlayCounter|PlayCounter]] | |||
|Property Get/Let | |||
| | |||
| | |||
|PlayCounter | |||
|INTEGER | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::PlaylistOrder|PlaylistOrder]] | |||
|Property Get/Let | |||
| | |||
| | |||
| | |||
|INTEGER | |||
| | |||
|Dynamic Check | |||
|- | |||
|[[ISDBSongData::PostGap|PostGap]] | |||
|Property Get/Let | |||
| | |||
| | |||
|PostGap | |||
|INTEGER | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::PreGap|PreGap]] | |||
|Property Get/Let | |||
| | |||
| | |||
|PreGap | |||
|INTEGER | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::Preview|Preview]] | |||
|Property Get | |||
| | |||
| | |||
| | |||
|INTEGER | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::PreviewPath|PreviewPath]] | |||
|Property Get | |||
| | |||
| | |||
|PreviewName | |||
|TEXT | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::Producer|Producer]] | |||
|Property Get/Let | |||
| | |||
| | |||
|Producer | |||
|TEXT | |||
| | |||
|From MM version 4.0 | |||
|- | |||
|[[ISDBSongData::Publisher|Publisher]] | |||
|Property Get/Let | |||
| | |||
| | |||
|Publisher | |||
|TEXT | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::Quality|Quality]] | |||
|Property Get/Let | |||
| | |||
| | |||
|Quality | |||
|TEXT | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::Rating|Rating]] | |||
|Property Get/Let | |||
| | |||
| | |||
|Rating | |||
|INTEGER | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::RatingString|RatingString]] | |||
|Property Get/Let | |||
| | |||
| | |||
| | |||
|TEXT | |||
| | |||
|Rating (Not Used?) | |||
|- | |||
|[[ISDBSongData::ReadTags|ReadTags]] | |||
|Method | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::ReadTagsAsExt|ReadTagsAsExt]] | |||
|Method | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::RenameByMask|RenameByMask]] | |||
|Method | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::SampleRate|SampleRate]] | |||
|Property Get/Let | |||
| | |||
| | |||
|SamplingFrequency | |||
|INTEGER | |||
| | |||
| | |||
|- | |||
|[[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]] | |||
|Property Get | |||
| | |||
| | |||
| | |||
|INTEGER | |||
| | |||
|Internal Use Only | |||
|- | |||
|[[ISDBSongData::SongLength|SongLength]] | |||
|Property Get/Let | |||
| | |||
| | |||
|SongLength | |||
|INTEGER | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::SongLengthString|SongLengthString]] | |||
|Property Get | |||
| | |||
| | |||
| | |||
|TEXT | |||
| | |||
|SongLength Formatted | |||
|- | |||
|[[ISDBSongData::Tempo|Tempo]] | |||
|Property Get/Let | |||
| | |||
| | |||
|Tempo | |||
|TEXT | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::Title|Title]] | |||
|Property Get/Let | |||
| | |||
| | |||
|SongTitle | |||
|TEXT | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::TotalSamples|TotalSamples]] | |||
|Property Get/Let | |||
| | |||
| | |||
|TotalSamples | |||
|INTEGER | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::TrackOrder|TrackOrder]] | |||
|Property Get/Let | |||
| | |||
| | |||
| | |||
|INTEGER | |||
| | |||
|MM2 | |||
|- | |||
|[[ISDBSongData::TrackOrderStr|TrackOrderStr]] | |||
|Property Get/Let | |||
| | |||
| | |||
|TrackNumber (TrackOrder), formatted (may have leading 0) | |||
|TEXT | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::UpdateAlbum|UpdateAlbum]] | |||
|Method | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::UpdateArtist|UpdateArtist]] | |||
|Method | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::UpdateDB|UpdateDB]] | |||
|Method | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::DiscardChanges|DiscardChanges]] | |||
|Method | |||
| | |||
| | |||
|Reverts changes made before calling UpdateDB | |||
| | |||
| | |||
|From MM version 4.1 | |||
|- | |||
|[[ISDBSongData::VBR|VBR]] | |||
|Property Get/Let | |||
| | |||
| | |||
|VBR | |||
|BOOLEAN | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::WriteTags|WriteTags]] | |||
|Method | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::Year|Year]] | |||
|Property Get/Let | |||
| | |||
| | |||
|Year[1,4] | |||
|INTEGER | |||
| | |||
| | |||
|- | |||
|[[ISDBSongData::MarkPlayed|MarkPlayed]] | |||
|Method | |||
| | |||
| | |||
|Time | |||
|REAL | |||
| | |||
|From MM version 4.0 | |||
|-} | |||
[[Category:Scripting|{{PAGENAME}}]] | [[Category:Scripting|{{PAGENAME}}]] | ||
[[Category:Automation objects|{{PAGENAME}}]] | [[Category:Automation objects|{{PAGENAME}}]] | ||
[[Category:CoClass SDBSongData|{{PAGENAME}}]] | [[Category:CoClass SDBSongData|{{PAGENAME}}]] |
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 |