mrw wrote: 
> Why didn't I think of looking there ? :)
> 
> It seems to working fine on Debian Wheezy (stable) on a SheevaPlug
> (arm). It effectively does what some of the later wrapper scripts posted
> in this thread do.
> 
> Longer term:
> 
> Is this an LMS bug ?
> 
> Should the pipe trap be set locally in the two (or more ?) locations
> where the command pipeline is invoked, rather than globally ?
> 
> I notice that the command pipeline seems to be invoked differently on
> Windows systems, I don't know whether they are susceptible to this
> problem.
> 
> 
> I found a number of threads on this issue posted back in 2004, none
> identified this SIGPIPE point.

Thanks, it's nice to hear that it works on a different build. It was
trying to find out why your wrapper script worked that lead me to this
:)

Yes, I think it is a LMS bug. 
The global trap seems like the best approach, but there is another
location where sigpipe is trapped that I still need to look at. It's in
Formats/RemoteStream.pm, and I'm not sure when that gets called. It's
not involved in this BBC radio problem so may not be relevant.


------------------------------------------------------------------------
richardsk's Profile: http://forums.slimdevices.com/member.php?userid=1350
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

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

Reply via email to