So I wanted to stream music from my laptop to a Bose iPod speaker set over wifi. It seemed like this should be simple right? Not really.
Apparently Icecast2 doesn’t support streaming the way that the iPhone OS expects it to. Luckily some kind souls wrote a patch to fake the iPhone/iPod touch into working.
Here are the instructions to get you going on Ubuntu Karmic:
sudo apt-get install rhymthbox icecast2 build-essential dpkg-dev
- Install the shout2send plugin for rhythmbox
- Change the plugin to send mp3’s instead of oggs by replacing
_GST_BIN = ('audioresample ! audioconvert ! vorbisenc ! oggmux ! shout2send 'with
_GST_BIN = ('audioresample ! audioconvert ! lame name=enc ! shout2send 'in
sudo apt-get source icecast2
sudo apt-get build-dep icecast2
sudo wget http://matt.colyer.name/uploads/2010/02/1002_iphone_streaming.txt -O 1002_iphone_streaming.patch
1002_iphone_streaming.patchas a separate line in the files “series”
sudo dpkg -i icecast2_2.3.2-2build1_*.deb