forked from mikebrady/shairport-sync
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 31cf954
Showing
7 changed files
with
2,193 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Type 'make' to build the packet decoder, 'hairtunes'. | ||
You need the following installed: | ||
|
||
openssl | ||
libao | ||
avahi (avahi-daemon running and avahi-publish-service on path) | ||
Perl | ||
|
||
Perl modules (install from CPAN): | ||
HTTP::Message | ||
Crypt::OpenSSL::RSA |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
CFLAGS = `pkg-config --cflags --libs ao openssl` | ||
|
||
hairtunes: hairtunes.c alac.c | ||
gcc hairtunes.c alac.c -D__i386 -lm $(CFLAGS) -o hairtunes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
Shairport v0.01 | ||
============== | ||
James Laird <[email protected]> | ||
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. | ||
|
||
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. |
Oops, something went wrong.