Commit Graph
488 Commits
Author SHA1 Message Date
Mike Brady 783e4aa31e Add warning for stalled metadata, add option for coverart 2015-03-21 18:22:21 +00:00
Mike Brady c2383d4942 Fix flush glitch, add artwork request to metadata set. 2015-03-18 21:02:49 +00:00
Mike Brady decc44c55f Add a few extra checks and a progress token. Turns out that iTunes delievery of artwork metadata is very buggy. Best not ask for it (remove metadata type 1 from the mDNS md=xxxphrase) 2015-03-17 22:59:29 +00:00
Mike Brady a2790fc102 Improve metadata output -- maybe it works reliably now. Add call to get audio parameters from back ends, to be able to give volume metadata. 2015-03-16 11:11:54 +00:00
Mike Brady 606c3fd080 Allow non-blocking option to adding item to pc queue -- necessary for 'resume' and possibly 'flush'. Stop pc_queue locking up (?) 2015-03-14 14:21:17 +00:00
Mke Brady e8be4e4883 Add a 'resume' metadata tag for when the stream is about to play 2015-03-12 23:07:02 +00:00
Mke Brady 60b3a6f7fd A little closer to an XML metadata sender. Still in flux. 2015-03-12 22:42:32 +00:00
Mike Brady edcd6da6b0 Debugging metadata code. The metadata is all a construction zone right now. 2015-03-12 20:46:21 +00:00
Mike Brady 9af829f7b2 Add a few new metadata messages. Change some of the codes -- important. 2015-03-11 22:38:09 +00:00
Mike Brady 38ad8e2ff8 Add preliminary not-yet-tested code for correct non-blocked writing to FIFO 2015-03-11 19:28:23 +00:00
Mike Brady dd50b332b2 Temporarily quieten some error messages associated with writing to a non-blocking pipe. 2015-03-09 16:26:54 +00:00
Mike Brady 59749f4ce6 Quieten a noisy debug message. 2015-02-26 01:17:17 +00:00
Mike Brady 83cccf0a0f Make writing to the pipe non-blocking. It will break on large files -- to be fixed. 2015-02-26 00:44:44 +00:00
Mike Brady a8796c407a Fix two pre-existing memory leaks, fix very buggy producer-consumer queue (pc_queue) implementation. 2015-02-26 00:19:21 +00:00
Mke Brady 201931916e VERY flaky with metadata, metadata thread and queue hooked up but not really house-trained or even fully debugged. 2015-03-05 23:10:00 +00:00
Mike Brady 9f2c54e086 Turn off an unneeded debug message. 2015-03-05 17:42:02 +00:00
Mke Brady 5ce1337b8d add UNTESTED code to manage a thread-safe producer consumer buffer and memory management with reference counting 2015-03-04 21:33:38 +00:00
Mike Brady 391b48f62a Continue to experiement with metadata. Make it a little more resistant to line drop outs and delays, add too-simple reference counting to rtsp messages. 2015-02-27 17:21:00 +00:00
Mke Brady 46412eb148 Reinistate after bugfix: Change bonjour advertisement if metadata sought, add sender name metadata, use own base64 encoder 2015-02-26 10:56:49 +00:00
Mke Brady bcca3a6f88 Revert "Change bonjour advertisement if metadata sought, add sender name metadata, use own base64 encoder"
This reverts commit 7d339b1b37.

UNstable partial updates.
2015-02-25 20:55:29 +00:00
Mike Brady 7d339b1b37 Change bonjour advertisement if metadata sought, add sender name metadata, use own base64 encoder 2015-02-25 18:25:29 +00:00
Mke Brady 00fc99ba6c Moving to XML and base64 for metadata transmission. Metadat handling still not final. 2015-02-24 16:56:43 +00:00
Mke Brady 8bbc8d0f24 Add preliminary support for metadata. 2015-02-18 21:51:08 +00:00
Mke Brady 8947eefaef Initial metadata code from abrasive 2015-02-18 19:23:21 +00:00
Mike Brady ac620ebc66 V2.2.2 adds a special latency for forked-daaapd 2015-02-15 23:00:00 +00:00
Mke Brady 1c47f4ac18 Add return status values from rtsp_read_response 2015-02-07 19:00:12 +00:00
Mke Brady 411aebe58b Prevent a malformed RTSP packet from shutting down the application. 2015-02-07 18:44:25 +00:00
Mike Brady bad35648e5 Alwasy reset default latency to 88,200 before adding in the -L orpion during a play. 2014-12-23 15:23:00 +00:00
Mike Brady 2f620dfdeb Modify latency calculation -- default 88,200 and only use 99,400 for iTunes V 10 or later 2014-12-23 13:16:38 +00:00
Mike Brady e052b5fb9e Use pkg-config to find libdaemon -- useful in FreeBSD -- and quieten a few warnings in FreeBSD 2014-10-11 19:55:29 +01:00
Mike Brady abe4d83ef0 Add flush request to handle_record, see if it helps 2015-08-31 11:18:25 +00:00
Mike Brady de957295bc Turn off a few debug messages, adjust formatting. 2014-10-04 11:00:27 +01:00
Ted Hess 20b6e5c86c rtsp.c: Fix socket open failures when no IPV6 available
Signed-off-by: Ted Hess <thess@kitschensync.net>
2014-10-03 16:05:27 -04:00
Mike Brady 62a0b88fce Add chatty diagnostics to getting a listening port 2014-10-01 19:19:44 +01:00
Mike Brady 770b81afa7 use popt to check command line arguments, add debug message to see what port is being listened to. 2014-10-01 18:37:23 +01:00
Mike Brady ddb77e2e5d Check pause request return for a 204 code, quiten some debug messages. 2014-09-23 10:47:50 +01:00
Mike Brady f2a54dd00c Send SIGUSR2 to shairport sync and it will send a pause request to the source. Also keep checking buffers. 2014-09-22 18:31:30 +01:00
Mike Brady d5fb35cd83 Still on the trail of that silencing bug -- fixed a silencing bug that could actually have caused it! Flush is a bit cruder, but I can't tell. 2014-09-15 18:14:01 +01:00
Mike Brady 0b90bb646c Seems as if we do need SO_REUSEADDR stuff after all -- to allow shairport-sync to stop and restart cleanly. 2014-09-08 13:26:30 +01:00
Mike Brady b38dfd0601 Try to quieten some warnings for Mac OS X 2014-09-07 12:50:41 +01:00
Mike Brady d3691bd46e Don’t bother with SO_REUSEADDR stuff. 2014-09-07 12:36:24 +01:00
Mike Brady 96d38fad61 When option -t is set to zero, allow a session to be interrupted. 2014-09-04 14:40:36 +01:00
Mike Brady 0a583f1b55 Quieten an incorrect compiler warning 2014-08-28 18:33:36 +01:00
Mike Brady b25f92e51e Add support for PolarSSL, quieten some error messages. 2014-08-24 16:26:44 +01:00
Mike Brady 32448afc4a If there is a gap in audio for more than 4 seconds, it tears down the connection. 2014-06-04 22:12:30 +01:00
Mike Brady 9cebc59b86 quieten very chatty debug messaging. 2014-05-27 08:14:21 +00:00
Mike Brady af40a978c1 Begin adding 'device busy' status. 2014-05-27 08:16:02 +01:00
Mike Brady 35fdae7a0a Add handling of User-Agent, and select an appropriate latency. 2014-05-25 18:49:57 +01:00
Mike Brady 1a0932d92a Remove extra returns and generally clean up some debug messages. 2014-05-19 19:12:13 +01:00
Mike Brady 2098d3df27 Turn off debug messages. 2014-05-07 15:49:04 +01:00