afalout wrote: 
> FYI, this works quite well:
> 
>       squeezelite -z -s localhost -d all=info -f /var/log/squeezelite-99.log
> \
>               -m 00:04:20:F2:00:09 -n "SL pipe AirPlay (Bedroom)" -a 16 -o - 
> | \
>               /usr/bin/mono /usr/local/bin/JustePort.exe - 169.254.14.50 -10
> 
> Of course, I have to discover AirPlay devices manually, and start one
> squeezelite for each device, but this is just to show you how much
> simpler would it be to get AirPlay workihg - especially now that you had
> mastered interfacoing with LMS.
> 
> All that would need to be done, is :
> - use libshairport for AirPlay devices discovery, instead of using
> libupnp.
> - register one LMS player per one discovered AirPlay device - exactly as
> you are doing right now for UPnP devices
> - pass the stream output directly to libshairport
> 
> NB: in above example, I'm using an ancient .Net executable, simply
> because it accepts pipe input.

But that's my point: here, you are not transfering any "control plane"
(volume, metadata, precise track position and other feedback to LMS)
information, only "data plane" (audio stream). Typically, LMS sends data
to squeezelite, that decodes them, output them "blindly" to stdout and
then you pipe to another app. No timing sync between the 2, no track
control, except buffer flow control. For example, PasTim has done a
great job doing the same with uPnP devices. 

Believe me the biggest difficulty was not the interface with LMS, but
the true sync between the 2 domains and that gave me a lot of pain.
Passing the stream output to libshairport does not do any good for that,
the stream output is just what I call the "data plane"



LMS 7.7.2 - 5 radio, 3 Boom, 4 Duet, 1 Touch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne
(sort of)
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=102496

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to