BASS_CONFIG_CD_CDDB_SERVER config option


The server to use in CDDB requests.

BASS_SetConfigPtr(
    BASS_CONFIG_CD_CDDB_SERVER,
    char *server
);

Parameters

serverThe CDDB server address, in the form of "user:pass@server:port/path". The "user:pass@", ":port" and "/path" parts are optional; only the "server" part is required. If not provided, the port and path default to 80 and "/~cddb/cddb.cgi", respectively.

Remarks

A copy is made of the provided server string, so it need not persist beyond the BASS_SetConfigPtr call. The default setting is "freedb.freedb.org".

The proxy server, as configured via the BASS_CONFIG_NET_PROXY option, is used when connecting to the CDDB server.

See also

BASS_CD_GetID

BASS_GetConfigPtr, BASS_SetConfigPtr