BASS

BASS_CONFIG_NET_PLAYLIST config option


Process URLs in PLS and M3U playlists?

BASS_SetConfig(
    BASS_CONFIG_NET_PLAYLIST,
    DWORD netlists
);

Parameters

netlistsWhen to process URLs in PLS and M3U playlists... 0 = never, 1 = in BASS_StreamCreateURL only, 2 = in BASS_StreamCreateFile and BASS_StreamCreateFileUser too.

Remarks

When enabled, BASS will process PLS and M3U playlists, trying each URL until it finds one that it can play. BASS_ChannelGetInfo can be used to find out the URL that was successfully opened.

Nested playlists are suported, that is a playlist can contain the URL of another playlist.

By default, playlist processing is disabled.

See also

BASS_GetConfig, BASS_SetConfig, BASS_StreamCreateURL