TSong Class
Song infos (from MP3 metadata or others)
Zicplay.Types.TSong
The TSong type exposes the following members.
Name | Description | |
---|---|---|
![]() | Album | Name of the album or single |
![]() | AlbumLowerCase | |
![]() | Artist | Artist (or artists) : singer, musician, ... |
![]() | ArtistLowerCase | |
![]() | Category | Category of the song (dance, techno, classic, ...) |
![]() | CategoryLowerCase | |
![]() | Duration | Duration of this song in seconds |
![]() | DurationAsTime | Return the duration in HH:MM:SS string format |
![]() | FileName | Return the file name and local path of this song to open it in the TMediaPlayer component |
![]() | Order | Order of the song in it's album |
![]() | Playlist | Playlist source for this song |
![]() | PublishedDate | Publication date (at least the year if known) |
![]() | PublishedYear | Publication year (extracted from PublishedDate) |
![]() | Title | Song title |
![]() | TitleLowerCase | |
![]() | UniqID | Unique ID of the song for its playlist |
![]() | onGetFilename | Called each time property FileName is read if the FFileName field is empty. Use it for your connectors if the song has no local file (to access to a local cache). |
Name | Description | |
---|---|---|
![]() | LoadFromStream | Load song datas from a stream |
![]() | SaveToStream | Save song datas to a stream |