iPhone Icecast from Rhythmbox

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:

  1. sudo apt-get install rhymthbox icecast2 build-essential dpkg-dev
  2. Install the shout2send plugin for rhythmbox
  3. 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
  4. cd /usr/src
  5. sudo apt-get source icecast2
  6. sudo apt-get build-dep icecast2
  7. cd /usr/src/icecast2-2.3.2/debian/patches
  8. sudo wget http://matt.colyer.name/wp-content/uploads/2010/02/1002_iphone_streaming.txt -O 1002_iphone_streaming.patch
  9. Add “1002_iphone_streaming.patch” as a separate  line in the files “series”
  10. cd ../..
  11. sudo dpkg-buildpackage
  12. cd ..
  13. sudo dpkg -i icecast2_2.3.2-2build1_*.deb

Selenium IE7/8 in Vista/Windows 7

So after spending too many hours trying to get selenium to work in Windows Vista/Windows 7, it turns out that you must run the selenium server from an administrative command shell.

The easiest way to do this is to search for “cmd” in the start menu and then right click on the “Command Prompt” item that comes up and select “Run as Administrator”. After you have the shell open cd to the correct directory and run “java -jar selenium-server.jar”. You can then run your selenium tests from a normally privileged shell.

libiphone/ifuse 0.9.5

So it’s been quite a while since I first started this journey, but iPhone support in Linux has progressed to the point that you can sync your music and even read some of your contact/calendar data.

Today we take another step forward with the latest release of libiphone/ifuse.

See the project page for more information.