492 Commits
Author SHA1 Message Date
James Laird c5b1f979e4 mdns: die iff the MDNS advertising process dies
and not if any other child does!
2013-06-04 00:26:55 +10:00
James Laird d52125eca2 change default port to 5002
As in the previous version. Fixes #214.
2013-06-03 21:47:17 +10:00
James Laird 98da1d2f66 whitespace fixes 2013-05-14 09:14:27 +10:00
James Laird 9894b52b7b restore '-d' (daemonise) flag 2013-04-14 20:17:40 +10:00
MaZderMind 44a25abaf8 change getopt return from char to int 2013-04-02 22:55:08 +02:00
James Laird 1eca354f62 shutdown cleanups
now calls shairport_shutdown() when dying
2013-04-02 21:27:14 +11:00
James Laird 7603ca6f61 enable -v switch for verbosity 2013-04-02 20:30:26 +11:00
James Laird 4a59e5d944 fix typo in arg parsing 2013-04-02 12:07:39 +11:00
James Laird 7db07766d3 rename arguments for compatibility with old version 2013-04-02 10:09:48 +11:00
James Laird 370f9d2fcb readability cleanup 2013-04-01 23:09:40 +11:00
James Laird 8a3f2fad16 generate hw_addr from apname 2013-04-01 23:06:55 +11:00
James Laird 42b4e67f9a usage: usage of default buffer_start_fill was wrong 2013-04-01 22:57:18 +11:00
James Laird cbe204d2ba usage: default buffer_start_fill was wrong 2013-04-01 22:08:58 +11:00
James Laird cf8401dbc8 Add copyright notices. 2013-04-01 21:57:11 +11:00
James Laird f39ff3a44e main: add option parsing 2013-04-01 21:44:14 +11:00
James Laird 9b33878c59 audio: output selection functionality 2013-04-01 21:43:24 +11:00
James Laird 86e94064c0 fix potential deadlock while shutting down 2013-04-01 20:08:28 +11:00
James Laird 04b142dbe3 rewrite: add mDNS registration 2013-04-01 20:08:05 +11:00
James Laird a2fb5d219d Refactor and rewrite.
Perl script is removed in favour of C. Stale documentation and initfiles
are removed for now also.

C interface works, but still needs work (for example, mDNS is missing) -
see TODO.
2013-04-01 18:57:08 +11:00
Tim Douglas ebe637f0ca Add support for mDNSPublish, from the howl zeroconf implementation.
Howl hasn't been actively developed for some years now; their website 404s,
and the Wayback Machine archive of 2008 says it's dead.[1] Yet it's still
functional and is much smaller than dbus and avahi, which makes it useful
for embedded systems. In fact, OpenWrt has not dropped support for the howl
tools, and it's because of howl that I can fit a functional shairport and
supporting libraries and kernel onto the 4MB of flash in a TP-LINK
TL-WR703N.[2]

[1] http://web.archive.org/web/20080917182117/http://www.porchdogsoft.com/products/howl/
[2] http://embeddedtimes.blogspot.com/2011/09/tp-link-tl-wr703n-tiny-linux-capable.html
2012-02-26 23:30:59 -08:00
Dan McGee b5a91cbebd Tabs to spaces conversion 2012-02-24 16:15:21 -06:00
Dan McGee 59d26d3a7c Use static where appropriate in shairport.c
Most functions don't need to be public outside of this file, so move all
the forward declarations out of shairport.h.
2012-02-24 16:14:43 -06:00
Dan McGee 565b223bb0 Don't require extern usage of frame buffering value
This makes things a bit cleaner and easier to grasp.
2012-02-24 14:33:05 -06:00
JH Laird 4172b696e0 Merge pull request #123 from juhovh/master
RSA and AES cleanup
2012-01-08 15:22:12 -08:00
James Laird 6ce7675820 Reap child processes in shairport.c 2012-01-09 10:18:17 +11:00
Juho Vähä-Herttua 2b8602bdc0 Remove trash bytes from the RSA private key 2011-10-30 16:13:52 +02:00
Yuval Tal 33a8091ed7 byte order was wrong for ipv4 address on top of ipv6 2011-06-14 09:52:39 +03:00
Albert Zeyer 3231f2df96 more cross platform check 2011-05-30 16:52:32 +02:00
Albert Zeyer 2776a4e47e change default port to 5002 as in #90.
this doesn't fix #34 though -- this should still be added, i.e. some automatic fallback to just any random free port.
2011-05-30 15:37:36 +02:00
Yuval Tal 272c288dfe fix compilation on linux 2011-05-29 17:49:05 +03:00
Yuval Tal 2c76375ca3 fix situation where ipv6 addresses are actually ipv4 addresses 2011-05-29 17:05:56 +03:00
Yuval Tal 04d7aec8ee use srandom, when using random 2011-05-29 10:46:20 +03:00
Yuval Tal dfc47f3974 initialize array 2011-05-29 10:45:36 +03:00
Yuval Tal 18943dc626 no need to parse, if we didn't get anything 2011-05-29 10:45:36 +03:00
Yuval Tal e0e8a09ccb Add support for IPv6 2011-05-29 08:30:03 +03:00
Ben Osheroff 92aa414728 Configurable buffer size, only for standalone
shairport just yet.
2011-05-23 13:40:31 -07:00
Albert Zeyer bb0ce713f3 small fix as noted by xseregax 2011-05-21 11:33:12 +02:00
Walter Goossens 01d9918ab6 Alter Makefile to build seperate objects and remove inclusion of c file 2011-05-10 01:04:04 +02:00
Andrew Webster 18c6c57321 fixed places in code that expected TRUE to be > 0.
fixed some base64 decoder/padding issues.
Updates for iTunes compatability (via James Pearce)
2011-05-04 18:51:03 -04:00
Andrew Webster e5b9efea8d Using a different method to load the private key that doesn't require
the pem file.
2011-05-01 19:49:30 -04:00
Albert Zeyer 2e4a080d58 some fixes 2011-04-30 17:22:01 +02:00
Andrew Webster df4a540dc9 Adds an alternative startup, that eliminates the need for Perl.
Requires airport.pem to load the airplay key.
2011-04-30 05:32:26 -04:00