Hi Richard, how do you apply this patch? richardsk wrote: > I've been looking into why avconv/ffmpeg doesn't stop after playing the > HLS stream, and have discovered that it's a problem with the servers' > handling of SIGPIPE. > The server sets the IGNORE flag on the pipe trap, and the POSIX spec > requires the flag to be inherited by any child processes. This is what > causes the problem with avconv & (some versions of) > ffmpeg, as they never see the SIGPIPE when their output is closed. > I've patched the trap code in /usr/share/perl5/Slim/bootstrap.pm (7.8.0 > build) to use a local function to ignore SIGPIPE and this does not > effect any child processes. > > I've run this patch for a day or so, and it all works correctly for me > using avconv as the converter. It needs more testing, but looks good so > far. > > Here's the patch if anyone wants to give it a try. > Please let me know if you do, all feedback welcome ;) > > I'm running 7.8.0 on debian stable. > > Richard
Matt http://www.last.fm/user/MJL-UK SQUEEZEBOXES:[/B] TWO SB DUETS (LIVING ROOM AND KITCHEN) AND A *'PICOREPLAYER' (HTTPS://SITES.GOOGLE.COM/SITE/PICOREPLAYER/HOME) [b]Server:* Raspberry PI with Squeezeplug & LMS 7.8. Music stored on Synology DS214 (2TB) NAS *Network:* Netgear DG834GT ADSL modem/router, Buffalo WZR-HP-G300NH access point *Livingroom:* Receiver, Naim 42/110 amp, B&W CM2 speakers *Kitchen:* Receiver, Topping TP20 Mk2 Class T amp, B&W 686 speakers *Study:*piCorePlayer, Linn LP12, Naim 72/Hi-cap/Headline ------------------------------------------------------------------------ TheLastMan's Profile: http://forums.slimdevices.com/member.php?userid=16021 View this thread: http://forums.slimdevices.com/showthread.php?t=103158 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
