dragonCdToc QML Value Type
The table of contents of an audio CD. More...
| Import Statement: | import org.kde.dragonmediabackend |
| In C++: | DragonCdToc |
Properties
- device : string
- discDuration : dragonDuration
- leadOutFrame : int
- tracks : list<dragonCdTrack>
Detailed Description
dragonCdToc values are delivered by the DragonCdTocReader.tocReady signal:
DragonCdTocReader { id: cdReader onTocReady: (toc) => { discLabel.text = i18n("%1 tracks, %2", toc.tracks.length, toc.discDuration.formatted()) player.source = toc.tracks[0].url } onFailed: (message) => errorLabel.text = message }
Property Documentation
device : string |
The device this TOC was read from.
discDuration : dragonDuration |
The total playable duration of the disc.
leadOutFrame : int |
The lead-out position of the disc in audio frames (also called sectors), the end of the program portion of the disc.
In CDDB terms, it is the disc length.
Learn more at the Wikipedia article on optical disc tracks.
tracks : list<dragonCdTrack> |
All tracks of the disc in TOC order.