mirror of
https://github.com/Grocel/3D-Stream-Radio.git
synced 2025-03-04 03:03:07 -05:00
It is an spawnable scripted entity for Garry's Mod that allows you to play online streams and local files as 3D world sound.
https://steamcommunity.com/sharedfiles/filedetails/?id=246756300
3d-stream-radioaddonaudio-streamingbassbass-librarygarrys-modgarrysmodgarrysmod-addongarrysmod-toolgarrysmodluagmodgmod-luagmodaddongmodluamusicradiosoundstreamstreamingwiremod
![]() - 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. |
||
---|---|---|
.vscode | ||
lua | ||
materials | ||
models/sligwolf/grocel/radio | ||
sound/stream_radio | ||
.gitattributes | ||
.gitignore | ||
addon.json | ||
git-hooks-pre-commit | ||
glualint.json | ||
gma_to_zip.bat | ||
README.md | ||
updatetoworkshop.bat |
3D Stream Radio
The 3D Stream Radio is an spawnable scripted entity for Garry's Mod that allows you to play streams from the internet and local files in 3D world sound. You spawn it with the toolgun, which allows you to change the its settings aswell.
Workshop Installation
The 3D Stream Radio is available on the Steam Workshop! Go to its Workshop page and press Subscribe
, and it will automatically appear in Garry's Mod.
Requirements
- Up to date Garry's Mod Server/Client.
Recommended addons
- Wiremod for Wiremod functionalities.
- GM_BASS3 for loader sound and Wiremod spectrum output (Advanced Outputs).
- [NM] Prop Pack for additional speaker models.
Features
- Serverside playlists
- Playlist browser built into the entity
- Playlist support for *.pls, *.m3u, *.json and *.vdf
- Playlist support for these addons:
- Model support for these addons:
- Build-in playlist editor
- Wiremod support (inputs and outputs, advanced wiremod support when the optional gm_bass3 is installed on the server.)
- 3D world sound, which can be turned off
- Customizable GUI colors
- Multiple radio models
- FFT Spectrum visualizer and music animated models
- CPPI support
- Duplicator support
- Supports local files (inside the ".../garrysmod/sound/" folder)
- Clientside performance settings
- An API for developers.
Credits
- Code: Grocel
- Models: SligWolf
License
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.