Copyright © 2001-2019 MultiMedia Soft

AmazonStoreCdInfoGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

After having performed a request to the Amazon store through the AmazonStoreCdInfoCreate method, obtains specific information about a CD.

 

For further information about obtaining CD info from the Amazon store, refer to the How to get Audio CD info using CDDB servers and Amazon catalogue tutorial.

 

 

Syntax

 

[Visual Basic]

control.AmazonStoreCdInfoGet (

nPlayer as Integer,

nInfo as enumAmazonStoreInfo

) as String


 

[C++]

LPCTSTR control.AmazonStoreCdInfoGet (

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

AMAZON_STORE_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 AmazonStoreCdCoverPictureFileGet method passing CD_COVER_SIZE_SMALL to the nCdCoverSize parameter.

AMAZON_STORE_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 AmazonStoreCdCoverPictureFileGet method passing CD_COVER_SIZE_MEDIUM to the nCdCoverSize parameter.

AMAZON_STORE_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 AmazonStoreCdCoverPictureFileGet method passing CD_COVER_SIZE_LARGE to the nCdCoverSize parameter.

AMAZON_STORE_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 AmazonStoreCdTrackTitleGet method.

AMAZON_STORE_CD_YEAR

4

Year.

AMAZON_STORE_CD_URL_PURCHASE

5

Purchase URL.

There is the possibility to navigate to the returned URL directly through the AmazonStoreCdNavigateToUrl 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