OK Folks, the Mod says post, so post, it is...
Slight revision:
**
Everybody, I found out that you don't actually have to remove the comment characters from in front of the port and bind IP address information within the IceCast configuration file. In fact, I can even stream to the web with those configurations left at the default settings. I don't exactly know what they DO, maybe someone can enlighten me.
It doesn't hurt if you do un-comment those lines, but it will save you some editing if you choose to skip, so I will comment in those parts as "Optional".
**
OK everybody, here goes...
First, go to
WWW.PANDORA.COM, and set up an account. Once you've set it up, create a "Radio Station", by following the instructions. You can set up many radio stations, and listen to them on multiple computers, but for this exercise, you'll set only one up.
(Once it's set up, start it, and you should hear it on your computer speakers. If so, we're ready to configure the servers now.
*** You're one quarter of the way there...***
Download IceCast2
http://downloads.xiph.org/releases/i....3.1_setup.exe
Download OddCastV3 (this is the stand-alone version, I didn't try the plugins for WinAmp or Foobar yet)
http://www.oddsock.org/tools/oddcast...one_3.1.12.exe
Run setup for IceCast (icecast2_win32_v2.3.1_setup.exe), and just install with all default options, or in other words, don't change ANYTHING, just say YES/OK, whatever, all the way through.
Once installed, browse to the "C:\Program Files\Icecast2 Win32" directory and run "Icecast2.exe" (or look on the desktop for the shortcut).
**
"Optional"
In the main window at the top, you'll see 3 menu options, "File", "Configuration", and "About". Choose "Configuration", and then the only option available, "Edit Configuration". You'll see a long script of code, pardon my ignorance, but I don't know what type, yet it looks a lot like HTML. In the code, I only changed 2 lines (since I don't want to broadcast outside the home). Don't ask me why, but even with these settings, I can stream from both the SoundBridge AND the SONOS (yes, I have both).
You'll find 2 lines just below the following text line:
<!-- You can use these two if you only want a single listener -->
The two lines you'll see are:
<!-- <port>8000</port> -->
<!-- <bind-address>127.0.0.1</bind-address> -->
To turn it on, all you need to do is delete the "<!-- " before each line, and the " -->" after, so if you've done it right, it'll look like this:
<port>8000</port>
<bind-address>127.0.0.1</bind-address>
*** NOTE START ***
Someone (jo7) informed me that their system had port 8000 occupied, and the configuration above wouldn't work. The simple fix there was to change it to another open port, as in their case, 8001, and everything else remains the same. That simple fix solved his problem of an occupied port 8000. Thanks, jo7!
*** NOTE END ***
Once done, I just closed the editor and allowed it to save back to the source file name (icecast.xml).
"Optional"
**
At this point, all you need to do is start the server, by clicking the "Start Server" button at the upper left. You may also wish to click the box labeled "Start Server On Application Startup" box, adding a checkmark. This way, every time you start IceCast, it will automatically begin the server.
Now you can click the box labeled "Hide To Systray", at the upper right.
*** You're one half of the way there...***
Now, run the setup for OddCast (oddcastv3_standalone_3.1.12.exe), and just like with IceCast, install with all default options.
Once installed, but before you run it, follow these instructions:
************************************************** ***
If you want to be able to stream in MP3, you'll need to download (
http://www.rarewares.org/dancer/dancer.php?f=105), unzip, and place the lame_enc.dll file into the folder where the OddCastV3Standalone.exe file is located. This must be done BEFORE configuring OddCast, otherwise, MP3 is not an option.
Also, if you want to stream AAC, you'll need to download (
http://pessoal.onda.com.br/rjamorim/libfaac.zip), unzip and insert libfaac.dll in the same directory.
If you don't add either of these two codecs, you will only be able to stream OGG files.
Note: For this exercise, and since the only one that I know, for sure, works, is the LAME MP3 one, download and copy the lame_enc.dll file above into the OddCast directory.
************************************************** ***
NOW, just as with IceCast, browse to the "C:\Program Files\OddcastV3" directory, and run "OddcastV3Standalone.exe" (or again, look for the shortcut on the desktop).
This time, you will be setting up your specific computer settings, and the stream names, locations, various other things. Follow carefully, and do exactly as I say, unless what I say starts with and ends with "(Optional)" (as in the first paragraph below), in which case, you can skip if you prefer.
OK, follow closely, because I only know what I know, nothing more...
(Optional) You will see a window that has a "Peak Meter" in the center, and it's labeled to the right. You'll notice it says "Off" next to it. If you want to see the cool colored peak meter playing along with the music, click in the blank area of the meter, and it should turn black, and the word "Off" should disappear. To turn it off, do the same thing again, it's a simple toggle switch.
(Optional)
You'll see two buttons at the middle of the screen, "Connect" and "Add Encoder". You'll want to press "Add Encoder". A new encoder will appear in the bottom window, and under the heading to the left, "Encoder Settings" it will say "Vorbis: Quality 0/Stereo/44100". To the right, under the heading "Transfer Rate", it will say "Disconnected".
Right-click on the "Vorbis: Quality 0/Stereo/44100", and choose "Configure". In that window, there are 3 buttons at the top, "Basic Settings", "YP Settings", and "Advanced Settings". "Basic Settings" is already selected, and below are a series of choices. The first thing to do is go down to the "Encoder Type" choice, and click there, and in the drop-down window that appears, choose the encoder of your pleasure. For me, the ONLY one I have been able to get to work with either SoundBridge or SONOS, is the "MP3 Lame" option, so, choose that one (assuming you downloaded and copied the lame_enc.dll file into the OddCast directory).
Once "MP3 Lame" is chosen, the window selections will change slightly. Now, at the top of the list is the bitrate. Since I don't know what bitrate Pandora plays at, I chose the highest, just in case. Besides, it will stream ANYTHING that is playing into the soundcard, so why not capture the full fidelity of the soundcard if possible? So for this exercise, type 320 into the "Bitrate" window.
The "Quality" window is greyed out, since it only applies to OGG. The default "Samplerate" is "44100", leave it alone. The "Channels" setting is "2", and again, leave it be. Also, the selection to the right of "Channels" titled "Joint Stereo" should have a checkmark in the box next to it. If it doesn't, click to add the checkmark.
The "ServerType" should already say "Icecast2". If not, click in the window and select "Icecast2".
The "Server IP" will say "localhost", but you'll want to change that to the IP of the computer that the server is running on. If you are behind a router, it will be the IP that the router has you assigned as. Type in your IP address into the box to the right of the "Server IP" heading.
* To find your IP address, click on the Windows "Start" button, then right-click on "My Network Places", and choose "Properties". In the window that opens, you should see your network card listed. Right-click on it, and choose "Status". In the window that opens, click the "Support" tab. Your IP address is the number on the right, which is something like "192.168.1.100". Whatever number that is, copy it exactly like it appears, dots and all, to a piece of paper. Once you have that information, you can close all the windows you just opened up, but be careful not to close the OddCast window. *
Next, you should see "Server Port", and it will say "8000". Leave it alone, unless you are running something else that is using port 8000. As mentioned above, jo7 informed me that his/her port 8000 was occupied s/he was were able to get it working on port 8001. For now, let's assume port 8000 is free on your PC (it was on mine).
Below that is the "Encoder Password" box, and inside, it will say "changemenow", or something close. Here is where you will place the password that is assigned to IceCast. In my case, I didn't change the password in IceCast's configuration file, because I am behind a firewall, and don't plan on broadcasting out to the web. I will change it after this dissertation. For you folks, the password is "hackme", so type "hackme" into the box to the right.
The last setting on this screen that you need to change is the "Mountpoint". For Icecast to recognize the stream properly, and send it to SoundBridge as an M3U stream, OddCast Mount Point needs to say "/pandora-stream.mp3" (note: you can use any name you choose ending in ".mp3", but must make sure it matches in the URL you enter for the streaming station in your SoundBridge or Sonos Favorites).
(Optional)
Now click on the "YP Settings" button at the top, and unckeck the "Public Server" box. This will prevent the music that is playing on your soundcard from being broadcast onto the web. Even if it were, someone would still have to "find" your IP address, port numer, and stream name before being able to listen, but why take chances.
(Optional)
That's all you need to be worried about for this part. Now just click the "OK" button at the top.
(continued...)