SourceRadio makes it possible for players on a server to build a playlist together and listen to music as they play—even on public servers.
SourceRadio plays music through the owner's ingame microphone, and songs may be requested by any player via the chat interface. If multiple songs are requested within a short time span, the first song plays, and the others are placed in a queue.
Your selection of music is practically infinite. That's because SourceRadio streams music directly from YouTube. When players request a song, SourceRadio takes the request and sends it to YouTube, which spits out the top result. SourceRadio stores the information gathered from each song request in a local database, using that information to avoid future lookups. SourceRadio also saves the most-requested songs locally to the owner's drive in order to stream songs more efficiently.
Note: A physical microphone is not required for sharing music with teammates.
Commands are issued to SourceRadio by players via the ingame chat interface. The owner also has the option of issuing commands via the developer console if he uses underscore for spaces. Commands are only recognized if they appear at the beginning of the message and start with an exclamation point.
Below, an asterisk indicates that a command has the ability to write changes to the properties file. This is done by appending -w
to the end of such a command (e.g. !queue-limit-w 7
). Parameters are indicated here in square brackets. However, when commands are issued, brackets do not surround the parameters.
n
] - Ensures that the n
th-to-last !song
command is ignored (whether or not it would have been ignored automatically). The last !song
command is ignored if no argument is provided.on
or off
] - Sets whether chat binds send messages to both teams or only the owner's team. After this command is executed, the binds script must be re-executed via the reload script bind. | See propertyn
th-to-last !song
command or** by the specified song title is never allowed to play. If the referenced song is playing or queued upon being blocked, it gets terminated. If n = 0
, the currently playing song gets blocked. If no argument is provided, the song referenced by the last !song
command gets blocked. | See blocked songs.txton
or off
]- Sets whether or not there should be an artificial vocalization every time a command is issued. | See propertyThe various files containing properties and settings for configuring SourceRadio are located at ...\SourceRadio\properties
. Below, you will find explanations of each important file in this directory that you may want to tweak to fit your preferences. You may use //
to demarcate comments in these files.
This file contains SourceRadio's main parameters. Property-value pairs are separated by the delimiter ->
. See this list for valid key names for binding. To restore this file's default values, run restore defaults.bat
.
tf2
, csgo
, l4d2
)true
if commands that are bound to a key (e.g. !skip
) should be displayed in chat when issued; false
if they are to be issued silently through the game console. true
if chat binds send messages to both teams or only the owner's team; false
otherwise. | See command !alltalkv
by default.true
if the mic is to be turned on upon game startup; false
otherwise.true
if there should be an artificial vocalization every time a command is issued; false
otherwise. | See command !vocalstrue
if command vocalizations are to be sent through the owner's microphone to teammates; false
otherwiseen
(English), bg
(Bulgarian), cs
(Czech), da
(Danish), de
(German), el
(Greek), es
(Spanish), fi
(Finnish), fr
(French), hu
(Hungarian), it
(Italian), ja
(Japanese), ko
(Korean), nl
(Dutch), no
(Norwegian), pl
(Polish), pt
(Portuguese), pt-br
(Portuguese-Brazil), ro
(Romanian), ru
(Russian), sv
(Swedish), th
(Thai), tr
(Turkish), uk
(Ukrainian), zh-hans
(Simplified Chinese), zh-hant
(Traditional Chinese).mysqld.exe
.localhost
.root
.root
is empty.If you wish, you may use this file to grant administrative privileges to specified players. Admins are able to execute most of the available ingame commands. This allows them to complete tasks that normal players can't, such as skipping songs and banning players.
This file should contain the Steam ID (any format) or profile URL of each player you wish to make an admin, with each value on its own line. Alternatively, you can add admins using the ingame !add-admin [username]
command, so long as the player is on the same server with you.
Note: As the owner, you do not have to place your ID in this file to grant yourself privileges.
If you wish, you may use this file to revoke the ability for certain players to request songs.
This file should contain the Steam ID (any format) or profile URL of each player you wish to ban, with each value on its own line. Alternatively, you can ban players using the ingame !ban [username]
command, so long as the player is on the same server with you.
If you wish, you may use this file to block certain songs from being played.
This file should contain a list of the YouTube IDs for each song you wish to block. Each ID must be on its own line. Alternatively, you can block songs using the ingame !block-song [song-title]
command.
Note: The YouTube ID mOF17bfG0Do
corresponds to the YouTube URL https://www.youtube.com/watch?v=mOF17bfG0Do
.
-g
takes the name of the game you are playing as an argument. This command is mandatory.
tf2
for Team Fortress 2csgo
for Counter-Strike: Global Offensivel4d2
for Left 4 Dead 2-f
takes a file path as an argument. This command specifies the path to the game directory if the game is not in the default location.-l
takes a file path as an argument. This command runs SourceRadio but listens to the specified file for commands rather than the game log. This command is for debugging only.-d
restores the properties in properties.txt
to their default values without running SourceRadio.Some anti-malware software may flag the installer because it comes from an unknown source. You may have to temporarily disable this software in order to run the installer.
You most likely forgot to use the !stop command when you finished. You can stop the audio playback by going to the Task Manager, clicking More details, selecting AudioController.exe, and clicking End task.