Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream
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 plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream
TheLastMan wrote: Hi Richard, how do you apply this patch? Use the patch utility -- go to /usr/share/perl5/Slim then run patch -b sigpipe.patch ( the -b will create a backup) 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 plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream
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 +---+ |Filename: sigpipe.patch| |Download: http://forums.slimdevices.com/attachment.php?attachmentid=17493| +---+ 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 plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream
On debian stable I've been trying the libav-tools backport - avconv version 10.1-6:10.1-1~bpo70+1. It works and can play the hls stream but it does not stop and gets left running. I'll try a modified version of the playhls.sh script unless anyone's got a better suggestion? 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 plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: BBCiPlayer Plugin (UK only)
Klammer wrote: I'm still trying to get something to play. This url: http://a.files.bbci.co.uk/media/live...io_fourfm.m3u8 gives me a 403 forbidden error, all other streams error as no items found in playlist (including those from the Radiofeeds UK app) I was getting those errors too, but it was because I'd messed up the url. I somehow got 'URL' pasted to the end. richardsk's Profile: http://forums.slimdevices.com/member.php?userid=1350 View this thread: http://forums.slimdevices.com/showthread.php?t=53229 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
[SlimDevices: Plugins] BlankSaver working too well ?
I've been trying the BlankSaver but I can't get it to do what I want. I would like to to show the track title when playing music but not when paused or stopped. So I set screensaver while playing to now playing screensaver while stopped to BlankSaver screensaver while off to BlankSaver But while playing music after a short while the display goes blank :( which is not what I wanted. Any ideas what's wrong or how I can get it set up? Thanks Richard player: SB classic server Version: 7.5.1 OS: linux x86_64 -- richardsk richardsk's Profile: http://forums.slimdevices.com/member.php?userid=1350 View this thread: http://forums.slimdevices.com/showthread.php?t=83168 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins