Jump to content

[Guide] How to create a Radio


Recommended Posts

In this guide I will show you how to host your own radio station with the .MP3 format so the radio can then be added in-game.

 

There are three main steps we have to do to get our own radio.

The three steps: 

  1. Setting up Icecast to get an own server running.
  2. Setting up Mixxx and getting music running.
  3. Port forwarding (Easier than it sounds).

 


What you need: 

 


Step 1: Setting up Icecast 

  1. Download and install Icecast
  2. Open the folder you installed Icecast into and open icecast.xml with a text editor of your choice.
  3. You can keep everything as it is, but go down to the password section and change the passwords.

  4. You'll want to change the password so not everybody can access your radio.

  5. Now run icecast.bat. Your server should now be open at localhost:8000.

The code with the passwords you need to change:

<authentication>
  <!-- Sources log in with username 'source' -->
  <source-password>hackme</source-password>
  <!-- Relays log in with username 'relay' -->
  <relay-password>hackme</relay-password>

  <!-- Admin logs in with the username given below -->
  <admin-user>admin</admin-user>
  <admin-password>hackme</admin-password>
</authentication>

 


Step 2: Setting up Mixxx: 

Mixxx is a music/DJ program, perfect for hosting a radio, since it also has an auto-DJ function.

 

  1. Download and install Mixxx.
  2. Choose the song library you want to use or drag and drop them into a playlist inside of Mixxx.
  3. Go to Options > Preferences > Live Broadcasting and set up a new connection as shown in the picture: aT9bwvL.png
  4. The password is the one you set in your icecast.xml file under the 'source'.
  5. Once done, enable it, apply, and ok. Now Turn on Live Broadcasting using this button: YZGCw6c.png
  6. It's recommended to turn on Auto-DJ, which allows you to have your music automated and be given a fade crossing.
  7. You should now be able to go to http://localhost:8000/live.mp3 and you should hear your music.

 

Turning on Auto DJ on Mixxx: 

To set up Auto DJ on Mixxx, follow these steps. With Auto DJ you can have your radio running 24/7 and it also adds nice crossfades between songs.

  1. Go to Options > Preferences > Auto DJ and turn on "Re-queue tracks after playback". This allows your radio to keep on playing and never stop.
  2. Now go to wherever you have your music stored on Mixxx, select all the songs you want and drag them on to the Auto DJ folder. if you click on Auto DJ, you should now see all your songs. q7QIp9O.png
  3. Now go into that Auto DJ folder and click "Enable Auto DJ" on the very right. The music should start playing now and Auto DJ is set up.JRXfs4J.png

 

 


Step 3: Port forwarding 

This step is a lot simpler than it sounds.

  1. Go into your router settings by entering http://192.168.1.1/ in your browser.
  2. Go to the port forwarding settings (might have to turn on expert mode and search around a bit) and create a new rule.
  3. You'll have to enter your local IP, and forward the Port 8000.
  4. Save and you're done with this step.

 

Local IP: 
Your local IP is the IP you find by opening cmd and typing ipconfig. The IP at IPv4 Address is the local IP you have to use in step three.

 


Playing the music: 

  1. Every time you want to start the radio, you need to run icecast.bat first and then start Mixxx and select Live Broadcasting.
  2. Now find your public IPv4 by going to http://whatismyip.com.
  3. The URL to listen to your radio is made with your public IPv4. It should be in this form: 172.xxx.xxx.xxx:8000/live.ogg. Since you port forwarded it, everybody can listen to this radio around the world.

 


Extra: Getting a special domain 

Do you want a nice looking link, so you can share the radio with others?

  1. Go to dot.tk and create a domain with the name of your choice.
  2. Checkout the domain and select the forward option. There just paste your link from the step before.
  3. Done, you now have a domain of your choice to listen to your radio.
Edited by SolarReaper
Changed ogg for MP3
  • Upvote 1
Link to comment
×
×
  • Create New...