Noel Hibbard wrote: 
> The pipe doesn't close. It's just the flow of data stops. For example if
> you just cat directly to the console you see the stream of data on the
> screen. As soon as you pause the AirPlay stream the flow of data stops
> but cat doesn't terminate. Then when you unpause the AirPlay stream the
> data starts flowing on the screen again. It just seems like LMS doesn't
> expect the data to stop like that. When I unpause the AirPlay stream LMS
> does eventually start playing again but it takes about 30secs to do so
> and by then it's lagged way behind. If shairport-sync could be modified
> to pad the pipe with silence I think LMS would keep on going. But I
> suspect this isn't a simple two line change for the shairport-sync dev.

You really should look back at the shairport development - I'm pretty
sure this is the same issue the original developer encountered.  The
problem of having to keep an Airport connection going even though there
may not be a LMS stream reading it.  Using generic Pipe and cat will
never give you enough control over the stream - the application
receiving the airport stream has to specific for LMS to know when to
forward audio stream, when to insert "silence" stream and when to
discard audio stream.

I think you'll be better off trying to understand why the current plugin
cannot do sync as otherwsie you seem to be treading the same as the
original developer and you may end up with a similar solution.


------------------------------------------------------------------------
bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=104208

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

Reply via email to