2011-04-11 12:32:55 +02:00
2011-04-11 00:09:42 -05:00
2011-04-11 00:09:42 -05:00
2011-04-11 19:17:21 +02:00
2011-04-11 19:17:21 +02:00
2011-04-11 13:43:17 +02:00

Shairport v0.01
==============
James Laird <jhl@mafipulation.org>
April 5, 2011

What it is
----------
This program emulates an Airport Express for the purpose of streaming music from
iTunes and compatible iPods. It implements a server for the Apple RAOP protocol.

It probably supports multiple simultaneous streams, if your audio output chain
(as detected by libao) does so.

Setup
-----
* `make`
* `perl -MCPAN -e 'install Crypt::OpenSSL::RSA'`
* `sudo apt-get install libssl-dev libcrypt-openssl-rsa-perl libportaudio-dev libhttp-request-ascgi-perl`

How to use it
-------------
1. Make sure avahi-daemon is running and the prerequisites are installed (see
INSTALL).
2. Edit shairport.pl with your favourite text editor to set the access
point name and/or password, if desired.
3. `perl shairport.pl`

The triangle-in-rectangle Airtunes logo will appear in the iTunes status bar of
any machine on the network, or on iPod play controls screen. Choose your access
point name to start streaming to the Shairport instance.

Thanks
------
Big thanks to David Hammerton for releasing an ALAC decoder, which is reproduced
here in full.
Thanks to everyone who has worked to reverse engineer the RAOP protocol - after
finding the keys, everything else was pretty much trivial.
Thanks also to Apple for obfuscating the private key in the ROM image, using a
scheme that made the deobfuscation code itself stand out like a flare.
Thanks to wtbw.

How to compile and install on Mac OSX 10.6
------
* install XCode
* install homebrew (https://github.com/mxcl/homebrew)
* brew install pkg-config libao
* make
* perl -MCPAN -e 'install Crypt::OpenSSL::RSA'
* perl shairport.pl

OSX 10.5 only bundles perl 5.8, which won't work with shairport. After getting a update
here (http://www.perl.org/get.html), it worked.

S
Description
No description provided
Readme
14 MiB
Languages
C 92.2%
C++ 3.7%
Shell 1.6%
M4 1.4%
Makefile 0.6%
Other 0.5%