cd_mediaTOC of MediaInfo [Archive] - Quintessential Forum

PDA

View Full Version : cd_mediaTOC of MediaInfo


shaohao
09-27-2005, 05:12 PM
Hi, Paul:
Can you tell me what the value of cd_mediaTOC shoudl look like?
I want to emulate a CD-Audio struct to tell QCD to treat a .cue sheet as a CD-Audio.

And
How to set the value of cd_hasAudio.

Paul
09-28-2005, 01:42 AM
Hi Shaohao,

'cd_mediaTOC[]' should be populated with a space delimited string of values to indicate track offsets. For a CD this is the TOC. The player doesn't care much about this string, but keeps it around for anyone else who might care (eg: CDDB querying plugin).

'cd_hasAudio' is set if any of the tracks on the CD are audio. This would be FALSE in the case of a data CD. The player uses this to update UI for audio/data CDs (eg: the 'Load CD' menu).

shaohao
09-28-2005, 02:42 AM
:) THX.

I have a good idea on load cue sheet as a playlist and play it.
I'm trying...