philippe_44 wrote:
> 1) Well, I wish it will be simple, but LMS has a certain way to send the
> audio stream, repackage and reformat it and also expect a set of
> information in return from the player, with a proprietary control
> protocol that *have to* be respected. So it will still have to be a
> gateway, I'm afraid
>
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.
------------------------------------------------------------------------
afalout's Profile: http://forums.slimdevices.com/member.php?userid=63706
View this thread: http://forums.slimdevices.com/showthread.php?t=102496
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins