airtunes

This little How-To is intended for Snow Leopard and ShairPort 0.03.

All credits to James Laird for his reverse engineering work. My best regards to him and his girlfriend.

Download ShairPort 0.03.

Download and install MacPorts.

Download and install Apple Developers tools (XCode): register to the iOS or Mac development program and grab it for free or purchase it from the Mac App Store.

Open Terminal (you can find it in Utilities subfolder in Applications folder) and write

sudo port install openssl libao nss avahi

then write your account password (this will take a lot of time!)

When the command finishes write

sudo cpan HTTP::Request

and write your account password (write yes two times if it asks for auto configuration and best mirror).

sudo cpan HTTP::Message

sudo cpan Crypt::OpenSSL::RSA

sudo cpan IO::Socket::INET6

Now we need to launch some processes, so in terminal write again

sudo launchctl load -w /Library/LaunchDaemons/org.freedesktop.dbus-system.plist

sudo launchctl load -w /Library/LaunchDaemons/org.freedesktop.avahi-daemon.plist

sudo launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist

in the ShairPort-0.03 directory (use cd to navigate through folders in terminal) write

make

Edit the shairport.pl with and set a custom machine name on line 7 (this is what will appear on the iOS app or iTunes speakers list).

Each time you want to start ShairPort you need to open terminal, navigate to the shairport-0.03 folder and run

perl shairport.pl

Enjoy.

Surely someone will create a full featured application to easily start and stop ShairPlay, but for now it should be enough to listen you music on your mac(s).

Willie Recommends: Airfoil

I love my AirTunes. It’s built into my Airport Express router and allows me to plug in speakers and stream my iTunes through the connected speakers instead of just playing it through the computer. But there is a flaw. The only thing I can stream is iTunes - no Pandora, no Blip.Fm - just iTunes.

Enter Airfoil.



Airfoil lets you stream audio through connected speakers, other computers, and other Apple products…all in sync. Simple and amazing.

I use it mostly for streaming internet radio and that alone is worth the $25 price tag.

Rogue Amoeba - Airfoil

2

Airplay/Airtunes - Redirect Your Audio Output

If you’re listening to a song or playlist on your iPhone and want to listen instead through your connected home speakers (or perhaps your car stereo if you have a BT setup), just click the icon at the right of your playback control panel.  This will list the available destinations/devices to receive this audio signal: simply select your preference and the music will start streaming to that device.