Listen to music in Co-op.
This is complicated to set up, and it needs more config options to not be TWLZ-specific. Not recommended to use this plugin yet.
Use .radio in the console, select a channel, become DJ and say ~yourYoutubeUrl to start the music. Everyone on the channel will listen to your track.
There is an option for the Text-To-Speech function for chat messages. Check also .radio help.
- Player says which song to play
- Angel script plugin writes this msg in the log file
- Server (radio_server.py) checks this log file in the loop
- Server says to the client about this msg
- Client gets song from youtube
- Client (radio_client.py) streams video into ffmpeg
- Client notifies steam_voice about stream
- Steam_voice streams ffmpeg into packets in the necessary format for sven plugins
- Steam_voice sends those packets to the client
- Client resends them to the server
- Server writes them into the file format
- Angel script reads them
- Angel script plays the music and everybody is dancing, yay
Check this.