Remarks
After having performed a request through the CdInfoCreate method, obtains specific information about a CD.
For further information about obtaining CD info, refer to the How to get Audio CD info using CDDB servers tutorial.
Syntax
[Visual Basic]
control.CdInfoGet (
nPlayer as Integer,
nInfo as enumCdInfo
) as String
|
|
[C++]
LPCTSTR control.CdInfoGet (
short nPlayer,
short nInfo
);
|
|
Parameter
|
Description
|
|
|
nPlayer
|
Number representing the zero-based index of the involved player.
|
nInfo
|
Requested information.
Supported values are the following:
Mnemonic value
|
Numeric value
|
Meaning
|
CD_URL_COVER_SMALL
|
0
|
URL for small size picture of the CD cover.
The local pathname of picture file containing this CD cover can be obtained through the CdCoverPictureFileGet method passing CD_COVER_SIZE_SMALL to the nCdCoverSize parameter.
|
CD_URL_COVER_MEDIUM
|
1
|
URL for medium size picture of the CD cover.
The local pathname of picture file containing this CD cover can be obtained through the CdCoverPictureFileGet method passing CD_COVER_SIZE_MEDIUM to the nCdCoverSize parameter.
|
CD_URL_COVER_LARGE
|
2
|
URL for large size picture of the CD cover.
The local pathname of picture file containing this CD cover can be obtained through the CdCoverPictureFileGet method passing CD_COVER_SIZE_LARGE to the nCdCoverSize parameter.
|
CD_TRACKS_NUM
|
3
|
Number of tracks inside the CD.
After having converted the returned string value into a numerical value, title of each single track can be obtained through the CdTrackTitleGet method.
|
CD_YEAR
|
4
|
Year.
|
CD_URL
|
5
|
Purchase URL.
There is the possibility to navigate to the returned URL directly through the CdNavigateToUrl method.
|
|
Return value
Value
|
Meaning
|
|
|
Empty string
|
An error occurred. Check the LastError property value in order to see the last error.
|
Valid string
|
The string containing the requested info
|