Tino,

I tried to submit a patch to the mailing list last year (around April/May), but 
I think the attachment was too big, and it was never posted.

The patch I submitted had some bugs, which I later fixed, but the machine I was 
making those changes on (which was where I was backing everything up to), had 
its disk go bad (I should have been backing up my backup).  I'm still hoping I 
can recover something from the bad disk, but I haven't had any time (or the 
necessary hardware) to do anything about it.

I took my patch, and got it to work with a recent version of MPD about a month 
ago.  Git has proven itself smarter than me, and I can't figure out the proper 
way to get a patch from it, but I've attached the output of 'git show', which I 
believe should be enough information.

The biggest bug right now relates to pausing.  If you pause for too long, it 
won't close the output correctly, and it will blow up.  (I had fixed this 
before, and I think I ended up improving some other things with that fix, but 
that work is gone.)  It doesn't gracefully handle all failure scenarios when 
trying to initialize the output device.

I use MPD with this RAOP support to stream music off my NAS to multiple Airport 
Express units.  Unlike other RAOP stuff out there, this supports the newer 
version of the AirTunes protocol which keeps the audio in sync.  The changes to 
support this weren't too major, but figuring out what to change took me a while.

Hopefully, you or someone else will find this useful and can make improvements 
to it.  


Dustin

On Jan 26, 2011, at 2:08 PM, Tino Keitel wrote:

> Hi,
> 
> I read about an output and mixer plugin to stream to AirTunes devices
> via RAOP, written by Dustin Puckett, but not released to public as it
> seems.  I intended to do something similar, so maybe starting with
> existing work is worth a try.  Currently, I set up mpd using alsa
> output bound to the fake ALSA driver in raop_play, but this is more a
> hack.
> 
> I think it would also be interesting to synchronize the timings of all
> outputs to get real multiroom output (like iTunes does), but this would
> require additions to the mpd APIs I suppose.
> 
> Dustin, is your work available somewhere, so that it can be used as a
> starting point?
> 
> Regards,
> Tino

Attachment: mpd.raop.patch.gz
Description: GNU Zip compressed data

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team

Reply via email to