Radio Free Mofirc DJ How To
From MonkeyFilter Wiki
Broadcast Procedure
- If you don't have one already, get an account with Gmail.
- Pop into #mofirc and say you want to broadcast. Someone (probably pmdboi or mandyman) will ask for your Gmail address, and then you'll get an invitation to subscribe to the broadcast schedule (if you haven't already) along with the ability to edit it.
- Log into Google Calendar and make it so that only the broadcast schedule is visible. Schedule a slot for yourself by clicking and dragging over the hours you want to reserve; type in the name you want to give your program, preceded by your Monkeyfilter or #mofirc nickname. (Examples: "pmdboi: word to yr moms", "suo: plays songs that he picked", etc.)
- Wait for your slot to come around.
- Log onto #mofirc at least fifteen minutes before your slot starts. Make sure the DJ currently playing knows that you're there and that you're ready to broadcast. Communication is important in coordinating timing!
- When the preceding DJ is getting ready to finish, he/she will say how much time you have before you're on. Pay attention, and when the DJ says "go ahead" or words to that effect, start your broadcast.
- Pump yr choons. Please remain in #mofirc for the duration of your program; this makes it easy for us to let you know if there are any problems with the broadcast (skipping, dead air, etc.). Also, we can compliment you on your excellent taste in music.
- Keep an eye out for the next DJ, and periodically let him/her know how much time is left in your set (say, at five minutes, one minute, thirty seconds, and fifteen seconds until the end of your set). When your set is done, say "go ahead" to the next DJ, and they'll start. Be prepared to extend your set if the DJ doesn't show up on time.
- Realize your addiction to DJing and sign up for another slot. :)
- PLEASE NOTE: Your music set MUST conform to the DMCA requirements detailed by LoudCity. This keeps our station legal!
Preparing your computer for broadcast
Before you can broadcast to Radio Free #mofirc, you need to install some software that lets you stream music to our Shoutcast server. Please look at the section for your computer's OS below.
In Windows
- Get Winamp.
- Install the SHOUTcast DSP plugin for Windows.
- Now follow these instructions. Pulled mostly from the readme of the plugin:
- After the plug-in has been installed, launch Winamp.
- Enter the Winamp preferences menu by pressing Ctrl-P or using the pull-down menu.
- Click on the DSP/Effect section in the left pane of the preferences window.
- Select <code><nowiki>Nullsoft SHOUTcast Source DSP v1.9.0 [dsp_sc.dll]</nowiki></code> on the right.
- A window pops up labeled SHOUTcast source.
- Click on the Input tab and ensure that the correct Input Device is selected (usually Winamp)
- Click on the Encoder tab, select Encoder 1 on the left, and select the bitrate options of 128bps (stereo comes after mono on the drop down menu)
- Click on the Output tab, then select Output 1 on the left.
- Click on the Connection button to bring up the settings for the SHOUTcast DNAS (the server) you will be connecting to. Enter <code>ct5.fast-serv.com</code> under Address, <code>9796</code> under Port number, get the password from pmdboi, and select 1 under the Encoder pulldown menu.
- Optionally, place a checkbox in Automatic Reconnection on Connection Failure if you want to reconnect in the event of a connection failure.
In Linux
Streaming to a Shoutcast server under Linux is easy.
Streaming to a Shoutcast server with metadata is a bung.
In Debian (and possibly Ubuntu)
- Go to the ices web page and download the most recent ices0. The current version is 0.4, so I'll use that in the writeup below.
- <code>tar xzvf ices-0.4.tar.gz</code>
- <code>cd ices-0.4</code>
- Add debian-multimedia.org to your <code>/etc/apt/sources.list</code>. The exact line you need is:
- <code><nowiki>deb http://www.debian-multimedia.org sid main</nowiki></code>
- You need at a minimum <code>liblame-dev</code>, <code>libxml2-dev</code> and <code>libshout3-dev</code>. If you want Perl or Python scripting support (if you want to be fancy with playlists), you'll also need <code>libperl-dev</code> and <code>libpython-dev</code>. Grab the whole shebang with
- <code>apt-get install liblame-dev libxml2-dev libshout3-dev libperl-dev libpython-dev</code>
- <code>./configure --with-lame --with-xml --with-perl --with-python</code> and pray that it doesn't choke. Leave out the <code>--with-perl</code> or <code>--with-python</code> if you don't want fancy playlists.
- <code>make</code>
- Now save this file somewhere: ices0-conf.xml. (You don't have to call it <code>ices0-conf.xml</code>.) Ask pmdboi for the password and add it to the <code><password></password></code> section.
- Construct your playlist. A playlist is a list of files, one file name per line. Make sure these mp3s have proper ID3 tags or metadata ain't gonna work. Edit the <code>ices0-conf.xml</code> file to point to the location of this playlist. The default is to look for <code>playlist.txt</code> in your current directory. Playlists in m3u format work as well.
- Run the damn thing as
- <code>src/ices -c ices0-conf.xml</code>
In Ubuntu
- Download sc_trans.
- Save file to desktop.
- right click file --> extract here
- double click the sc_trans_040 folder
- fill in the appropriate info in the sc_trans.conf txt file (bitrate, etc.)
- edit playlist.pls (open it in a text editor)
- first song in the .pls is skipped (known bug), so put the first song in twice
- you need to supply full path to the mp3, which will be /home/you/Desktop/wherever the mp3 is/file.mp3 or something like that (precise info in the .conf file); copy and paste your mp3 links into the playlist in order
- open a terminal window
- type cd Desktop/sc_trans_040/
- then type ./sc_trans_linux
- hit control-C to end (the playlist will loop by itself if you do not end it, but it will play that first song you had doubled up twice on the repeat)
If you need to edit the playlist while it's playing, open it up again in the text editor, change it, and save it. Then open another terminal window (not the one already in use) and type killall -USR1 sc_trans_linux - this will refresh the playlist but will not affect the song currently playing. HOWEVER, be warned: when you refresh the playlist, it will start from the beginning, so remove all the songs from the playlist that have been already played!
Ask hajen if you need more info, since this is the method she was using. (Since abandoned since doing fixed playlists can be a real PITA.)
In other Linux distros
You are mostly on your own, but maybe you can make some sense of the Debian instructions above. Basically, get ices0 to compile by hook or crook.
(For the old linux notes with unworking metatadata stuff, see Radio Free Mofirc DJ How To/old linux notes)
In Mac OS X
Use Nicecast. Seriously. It's awesome. Set it up as follows:
- Go to the "Server" window (command-2).
- In the window's side bar, click the "+" button to create a new server entry.
- Fill it in as follows:
- Name: fast-serv
- Server Type: Shoutcast
- Account: (leave blank)
- Password: (ask pmdboi)
- Address: ct5.fast-serv.com
- Port: 9796
- Mount Point: (leave blank)
- Public URL: http://ct5.fast-serv.com/
- Select this server with the radio button in the sidebar.
- Close the "Server" window.
- In the main window, make sure the following settings are in effect:
- Source
- Application: iTunes
- Quality
- Bitrate: 128 Kbps
- Sample Rate: 44.100 Khz
- Channels: Stereo
- Source
- When you're ready, click the "Start Broadcast" button. It might need you to reboot iTunes; this takes a minute.
- Play your choons in iTunes!
Please make sure to confirm with the folks in #mofirc that your broadcast is coming through OK.
However, if you don't have the $40 lying around, the folks at Radio Metachat have put together a nice guide on how to broadcast under OS X. Write your experiences below!
