Open source radio software.
The protcol used by OSRadio should be able to be interpreted both by machine and also by hand.
Command: SOURCE
Number of parameters: 1
Sent when?: Client connection/Song change
Can be sent by client?: No
Can be sent by server?: Yes
The SOURCE command is sent from server to client when the client connects and also when the song changes. The only parameter is the URL of the music file to be played. This command will usually be followed by the TIME
command on connect, unless the song was starting when the client connected.
Example:
< SOURCE https://tilde.town/~minerobber/sickbeats.mp3
Command: TIME
Number of parameters: 1
Sent when?: Client connection
Can be sent by client?: No
Can be sent by server?: Yes
The TIME command is sent from server to client when the client connects. The only parameter is the time, in seconds, from the start of the file that the client should be playing.
Example:
< TIME 63