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~/.gnome2/plugins/shout2send/__init__.py cd /usr/srcsudo apt-get source icecast2sudo apt-get build-dep icecast2cd /usr/src/icecast2-2.3.2/debian/patchessudo wget http://matt.colyer.name/uploads/2010/02/1002_iphone_streaming.txt -O 1002_iphone_streaming.patch- Add
1002_iphone_streaming.patchas a separate line in the files “series” cd ../..sudo dpkg-buildpackagecd ..sudo dpkg -i icecast2_2.3.2-2build1_*.deb