Difference between revisions of "SDBSongData"

From MediaMonkey Wiki
Jump to: navigation, search
(Added DateType return value for date properties)
(ISDBSongData members)
Line 855: Line 855:
 
|
 
|
 
|  
 
|  
 +
|-
 +
|[[ISDBSongData::DiscardChanges|DiscardChanges]]
 +
|Method
 +
|
 +
|
 +
|Reverts changes made before calling UpdateDB
 +
|
 +
|
 +
|From MM version 4.1
 
|-
 
|-
 
|[[ISDBSongData::VBR|VBR]]  
 
|[[ISDBSongData::VBR|VBR]]  
Line 954: Line 963:
 
|
 
|
 
|From MM version 4.0
 
|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}}]]

Revision as of 16:23, 14 August 2013

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
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
Encoder Property Get/Let Encoder TEXT
FileLength Property Get/Let FileLength INTEGER
FileModified Property Get/Let FileModified REAL
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 REAL
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 INTEGER
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
Path Property Get/Let SongPath TEXT
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
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
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 INTEGER
WriteTags Method
Year Property Get/Let Year[1,4] INTEGER
MarkPlayed Method Time REAL From MM version 4.0
Series Property Get/Let Album TEXT From MM version 4.0
Director Property Get/Let Artist TEXT From MM version 4.0
Producer Property Get/Let Producer TEXT From MM version 4.0
Actors Property Get/Let Actors TEXT From MM version 4.0
ParentalRating Property Get/Let ParentalRating TEXT From MM version 4.0
EpisodeNumber Property Get/Let EpisodeNumber TEXT From MM version 4.0
SeasonNumber Property Get/Let SeasonNumber TEXT From MM version 4.0