Workshop Release (rev432)
Added Stream URL whitelisting, optimized netcode
-
Added Stream URL whitelisting:
- It is on by default, even for existing installs.
- Can be changed in admin panel or via console
sv_streamradio_url_whitelist_enable 1/0
. Although, it is not recommended to turn it off. - Clients will ask the server if a URL is good. If it isn't, any attempt to play from it will result in error 1000 (
STREAM_ERROR_URL_NOT_WHITELISTED
). This will prevent radio abuse such as IP graping and other malicious intends. You can ask an admin to have it whitelisted on the server. - Whitelists is based on the installed playlist.
- Added several ways for admins to quickly add new whitelist entries to so-called quick-whitelists. Quick-whitelists are playlist files too.
- Removed
sv_streamradio_allow_customurls
, as it has been replaced with the new whitelisting. - Added integration for CFC HTTP Whitelist to this addon's whitelist. If CFC whitelists an URL, the addon will whitelist it for your client too (but not necessarily for others).
-
Improved info texts a bit.
-
Optimized networking to have less entity.__index calls.
-
Added better URL and path sanitation.
-
Fixed potential race conditions when loading files or streams.