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 does not need to persist beyond the BASS_SetConfigPtr call. The default setting is "gnudb.gnudb.org".

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

Platform-specific

On Windows, the BASS_UNICODE flag can be used with a UTF-16 string ("wchar_t" rather than "char").

See also

BASS_CD_GetID

BASS_GetConfigPtr, BASS_SetConfigPtr