Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream
I have created V2.10 of PlayHLS. This version should fix (i) the issues of zipped segment playlists - as recently seen by the in the Finnishg stations https://supla.digitacdn.net/live/_definst_/supla/radiorock/master.m3u8 (ii) The RTHK issue as noted in https://forums.slimdevices.com/showthread.php?117270-RTHK-streams-fail-to-play At the moment I can only test on Ubuntu x86 system and as the fix for zipped lists uses a CPAN library (already used by LMS) , the plugin should be tested on Windows and ARM system before general release. To install change the repository URL to that below and V2.101 should be come available. Code: http://bpa-code.github.io/bpaplugins/repo-playhls-v2-beta.xml bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 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
Paul Webster wrote: > Comment from the RFC that I think is applicable - not that it will help > much since the world is as it is > https://www.rfc-editor.org/rfc/inline-errata/rfc8216.html > > "Compression: this media type does not employ compression." > > but the text says: > 6.2.1. General Server Responsibilities > ... > "HTTP servers SHOULD transfer text files -- such as Playlists and > WebVTT segments -- using the "gzip" Content-Encoding if the client > indicates that it is prepared to accept it." > > Edit: > and this seems to be relevant > https://www.martin-riedl.de/2018/09/12/gzip-compression-for-hls-playlists/ The real behaviour doesn't match the "standards" or comments. The real stupidity is (i) the savings (even with large m3u files) is v. small compared to audio and HTTP headers and (ii) why not compress every response. In this case it's not a hard hack to fix. Plugin expects first line to be "#EXTM3U" - if it is not then an error. The hack is , now if no "#EXTM3U" found, then unzip and then see if first line is "#EXTM3U". bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 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
Comment from the RFC that I think is applicable - not that it will help much since the world is as it is https://www.rfc-editor.org/rfc/inline-errata/rfc8216.html "Compression: this media type does not employ compression." Paul Webster author of \"now playing\" plugins covering radio france (fip etc), planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, abc australia and cbc/radio-canada and, via the extra \"radio now playing\" plugin lots more - see https://forums.slimdevices.com/showthread.php?115201-announce-radio-now-playing-plugin Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105 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
Paul Webster wrote: > That's sneaky. > If there any "Accept" header sent saying compressed is supported? > If yes - then maybe not sending it might stop them doing it. I'm testing with wget and there is no Accept-Encoding with gzip or compress so compression should not be used (and if so should also be indicated in response Content header). It seems it's just the way HLS servers are implemented. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 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
That's sneaky. If there any "Accept" header sent saying compressed is supported? If yes - then maybe not sending it might stop them doing it. Paul Webster author of \"now playing\" plugins covering radio france (fip etc), planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, abc australia and cbc/radio-canada and, via the extra \"radio now playing\" plugin lots more - see https://forums.slimdevices.com/showthread.php?115201-announce-radio-now-playing-plugin Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105 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
Paul Webster wrote: > Used to work fine - so I assume they have changed something in their > streaming service. I've tracked down the issues. Every so often the m3u files (typically 346 bytes) is sent zipped (now 160 bytes) with no change in MIME to indicate it has been zipped so it needs a bit of hack to fix. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 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
Supla Finland streams are stopping after a short period - seconds to minutes. Am using PlayHLS v2.9 Code: [22-11-19 18:24:51.4566] Plugins::PlayHLS::HLSPLAY::_parsePL (301) bad m3u file: https://supla.digitacdn.net/live/_definst_/supla/radiorock/chunklist.m3u8 Used to work fine - so I assume they have changed something in their streaming service. Sample url Code: https://supla.digitacdn.net/live/_definst_/supla/radiorock/master.m3u8 Paul Webster author of \"now playing\" plugins covering radio france (fip etc), planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, abc australia and cbc/radio-canada and, via the extra \"radio now playing\" plugin lots more - see https://forums.slimdevices.com/showthread.php?115201-announce-radio-now-playing-plugin Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105 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
Thanks Paul, I think I found it. Here's the answer for anyone that might be interested: ["xx:yy:zz:02:18:83",["radionowplaying","playlist","play","menu:radionowplaying","item_id:","isContextMenu:1"]] Davide tdave81's Profile: http://forums.slimdevices.com/member.php?userid=73101 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
See the first post in the RNP announcement thread. Paul Webster author of \"now playing\" plugins covering radio france (fip etc), planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, abc australia and cbc/radio-canada and, via the extra \"radio now playing\" plugin lots more - see https://forums.slimdevices.com/showthread.php?115201-announce-radio-now-playing-plugin Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105 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
Hi Paul, how can I try it? Thanks, Davide tdave81's Profile: http://forums.slimdevices.com/member.php?userid=73101 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 couldn't resist a quick test before going to bed ... More work to do to include the other stations in the group etc +---+ |Filename: Screenshot 2022-10-23 221818.png | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=38957| +---+ Paul Webster author of \"now playing\" plugins covering radio france (fip etc), planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, abc australia and cbc/radio-canada and, via the extra \"radio now playing\" plugin lots more - see https://forums.slimdevices.com/showthread.php?115201-announce-radio-now-playing-plugin Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105 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
tdave81 wrote: > Is this behavior correct? Am I doing anything wrong? I've tried both > with version 1.x and 2.x of the plugin with same result. HLS supports a few methods for instream metadata but not all stations put metadata instream (makes it a reason to play the station via a browser /app ). A quick looks at the first stream - seems not to have instream metadata For the record. PlayHLS V1.x never extracts instream metadata PlauHLS V2.x will handle some types of instream metadata and pass on to LMS to display on UI. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 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
Paul Webster wrote: > I just had a quick look at the first one - deejay.it - and I think I > will be able to include it in my Radio Now Playing plugin. > Should be able to show artist, title, cover art and programme name. the would be cool, both radios are linked (same owner). I expect that once you do for one it should work also for the other! If you need help in testing it out let me know. Davide tdave81's Profile: http://forums.slimdevices.com/member.php?userid=73101 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 should also be able to do the 2nd one - capital.it - since they are from the same group and using same format data. Paul Webster author of \"now playing\" plugins covering radio france (fip etc), planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, abc australia and cbc/radio-canada and, via the extra \"radio now playing\" plugin lots more - see https://forums.slimdevices.com/showthread.php?115201-announce-radio-now-playing-plugin Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105 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 just had a quick look at the first one - deejay.it - and I think I will be able to include it in my Radio Now Playing plugin. Should be able to show artist, title, cover art and programme name. Paul Webster author of \"now playing\" plugins covering radio france (fip etc), planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, abc australia and cbc/radio-canada and, via the extra \"radio now playing\" plugin lots more - see https://forums.slimdevices.com/showthread.php?115201-announce-radio-now-playing-plugin Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105 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
tdave81 wrote: > Hello all, > I finally found this plugin to play m3u8 radios from the internet. > I have a couple of radios from Italy that are now working and playable > but unfortunately it looks like metadata are not working. > This is my first post so I can not post links, I'll post them in a > reply. > > > Is this behavior correct? Am I doing anything wrong? I've tried both > with version 1.x and 2.x of the plugin with same result. > > Thanks in advance, > Davide Links: https://4c4b867c89244861ac216426883d1ad0.msvdn.net/radiodeejay/radiodeejay/master_ma.m3u8 https://4c4b867c89244861ac216426883d1ad0.msvdn.net/radiocapital/radiocapital/master_ma.m3u8 tdave81's Profile: http://forums.slimdevices.com/member.php?userid=73101 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
Hello all, I finally found this plugin to play m3u8 radios from the internet. I have a couple of radios from Italy that are now working and playable but unfortunately it looks like metadata are not working. This is my first post so I can not post links, I'll post them in a reply. Is this behavior correct? Am I doing anything wrong? I've tried both with version 1.x and 2.x of the plugin with same result. Thanks in advance, Davide tdave81's Profile: http://forums.slimdevices.com/member.php?userid=73101 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
bebop wrote: > But thank you for the great work with this plugin, I really enjoy to be > able to listen to the HQ streams from our national broadcaster I tested the P4 stream (and other HLS DR stream) at various times and various durations over the weekend and no error messages. Perhaps it was a broadcaster/equipment problem which has been resolved or just an unusual set of circumstances. I think I know why the error message is produced - just I cannot see how the situation can arise - might have to wait to see error reappears. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 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
But thank you for the great work with this plugin, I really enjoy to be able to listen to the HQ streams from our national broadcaster bpa wrote: > Thanks for details. I think Perl and SSL are new enough not to cause > problems for most streams. I > > Is there any pattern to when the errors were logged (e.g. evening, > midnight shift, weekends, commute time weekdays) ? The type of program > being broadcast (e.g. live, pre-recorded, very long) may hint when to > test. > > The PlayHLS plugin implements a version of HLS from a few years ago - > audio stream have tended not to use many of the newer feature (which are > mainly video). > > IIRC DR Radio have tended to be a leading edge of broadcast tech. The > problem maybe a new or little used HLS feature which is not implemented > or its implementation is incomplete/buggy. > > With the Plugin version I can look at the line of code and try to > understand what might trigger the error. > The URL has 6 options for stream (and alternates) at 96kbps, 256kbps and > 320kbps - perhaps the problem happens with one of the speeds/alternates. Best regards Bebop SC 8.3 on Ubuntu 16.04 on FITPC2 , 3xSB Touch, 2 x Boom, SB Radio, Squeezeplay on PC & MAC, Squeezeplayer & Squeezer on Android phone and tablet. bebop's Profile: http://forums.slimdevices.com/member.php?userid=17061 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
As an aside ... I think I would be able to show Now Playing information for the DR stations (like P4). I assume, @bebop, that you do not see any at present. I'll take a more detailed look over the coming days. Paul Webster author of \"now playing\" plugins covering radio france (fip etc), planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, abc australia and cbc/radio-canada and, via the extra \"radio now playing\" plugin lots more - see https://forums.slimdevices.com/showthread.php?115201-announce-radio-now-playing-plugin Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105 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
bebop wrote: > You are running Ubuntu 16.x which is quite old: > Sorry about the old Ubuntu version, my old FitPc cannot run anything > higher. > > what version of Perl ? > Perl Version: 5.22.1 - i686-linux-gnu-thread-multi-64int. > > what version of IO::Socket::SSL is showing in WebUI Settings/Information > ? > IO::Socket::SSL: 2.024. > > What version of PlayHLS are you running V1.* (with ffmpeg version ?) or > V2 (native)? > v2.9. > > What URL are your trying to play ? > https://drliveradio.akamaized.net/hls/live/2022411/p4kobenhavn/masterab.m3u8 > > I suspect that it may have had something to do with the stream, testing > today shows no errors in the log.. Thanks for details. I think Perl and SSL are new enough not to cause problems for most streams. I Is there any pattern to when the errors were logged (e.g. evening, midnight shift, weekends, commute time weekdays) ? The type of program being broadcast (e.g. live, pre-recorded, very long) may hint when to test. The PlayHLS plugin implements a version of HLS from a few years ago - audio stream have tended not to use many of the newer feature (which are mainly video). IIRC DR Radio have tended to be a leading edge of broadcast tech. The problem maybe a new or little used HLS feature which is not implemented or its implementation is incomplete/buggy. With the Plugin version I can look at the line of code and try to understand what might trigger the error. The URL has 6 options for stream (and alternates) at 96kbps, 256kbps and 320kbps - perhaps the problem happens with one of the speeds/alternates. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 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
You are running Ubuntu 16.x which is quite old: Sorry about the old Ubuntu version, my old FitPc cannot run anything higher. what version of Perl ? Perl Version: 5.22.1 - i686-linux-gnu-thread-multi-64int. what version of IO::Socket::SSL is showing in WebUI Settings/Information ? IO::Socket::SSL: 2.024. What version of PlayHLS are you running V1.* (with ffmpeg version ?) or V2 (native)? v2.9. What URL are your trying to play ? https://drliveradio.akamaized.net/hls/live/2022411/p4kobenhavn/masterab.m3u8 I suspect that it may have had something to do with the stream, testing today shows no errors in the log.. bpa wrote: > Details please. > > You are running Ubuntu 16.x which is quite old: > what version of Perl ? > what version of IO::Socket::SSL is showing in WebUI Settings/Information > ? > > What version of PlayHLS are you running V1.* (with ffmpeg version ?) or > V2 (native)? > What URL are your trying to play ? Best regards Bebop SC 8.3 on Ubuntu 16.04 on FITPC2 , 3xSB Touch, 2 x Boom, SB Radio, Squeezeplay on PC & MAC, Squeezeplayer & Squeezer on Android phone and tablet. bebop's Profile: http://forums.slimdevices.com/member.php?userid=17061 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
bebop wrote: > I keep seeing vast amounts of this error in the log file: > > 22-09-15 18:15:28.3706] Slim::Networking::IO::Select::__ANON__ (130) > Error: Select task failed calling > Slim::Web::HTTP::sendStreamingResponse: Can't use an undefined value as > a SCALAR reference at /var/lib/squeezeboxserver/cache/Install > edPlugins/Plugins/PlayHLS/HLSPLAY.pm line 569. Details please. You are running Ubuntu 16.x which is quite old: what version of Perl ? what version of IO::Socket::SSL is showing in WebUI Settings/Information ? What version of PlayHLS are you running V1.* (with ffmpeg version ?) or V2 (native)? What URL are your trying to play ? bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 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
Which URL/ station are you playing? Paul Webster author of \"now playing\" plugins covering radio france (fip etc), planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, abc australia and cbc/radio-canada and, via the extra \"radio now playing\" plugin lots more - see https://forums.slimdevices.com/showthread.php?115201-announce-radio-now-playing-plugin Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105 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 keep seeing vast amounts of this error in the log file: 22-09-15 18:15:28.3706] Slim::Networking::IO::Select::__ANON__ (130) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: Can't use an undefined value as a SCALAR reference at /var/lib/squeezeboxserver/cache/Install edPlugins/Plugins/PlayHLS/HLSPLAY.pm line 569. Best regards Bebop SC 8.3 on Ubuntu 16.04 on FITPC2 , 3xSB Touch, 2 x Boom, SB Radio, Squeezeplay on PC & MAC, Squeezeplayer & Squeezer on Android phone and tablet. bebop's Profile: http://forums.slimdevices.com/member.php?userid=17061 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
bpa wrote: > Sorry - typo crept in at the last minute when preparing the repo. > > Should be OK now - uninstall and then reinstall to get rid of old > version with typo. Thank you for the excellent work, much appreciated. Best regards Bebop SC 8.3 on Ubuntu 16.04 on FITPC2 , 3xSB Touch, 2 x Boom, SB Radio, Squeezeplay on PC & MAC, Squeezeplayer & Squeezer on Android phone and tablet. bebop's Profile: http://forums.slimdevices.com/member.php?userid=17061 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
bebop wrote: > Fails with this error on my LMS v8.3.0, 1645717927: > > [22-04-15 12:54:16.8803] Slim::Formats::loadTagFormatForType (120) > Error: Couldn't load module: Plugins::PlayHLS::M3UM3U8 (m3um3u8) : > [syntax error at /var/lib/squeezeb > oxserver/cache/InstalledPlugins/Plugins/PlayHLS/M3UM3U8.pm line 84, near > "Slim::Formats::Playlists::M3U:" > Compilation failed in require at (eval 1153) line 2. > BEGIN failed--compilation aborted at (eval 1153) line 2. Sorry - typo crept in at the last minute when preparing the repo. Should be OK now - uninstall and then reinstall to get rid of old version with typo. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 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
bpa wrote: > PlayHLS V2.9 is now available using the repo > http://bpa-code.github.io/bpaplugins/repo-playhls-v2.xml > > 2 bug fixes: > > 1. Fix Material "Add to Playlist" menu which failed to add an item to > playlist > 2. Fix to resume playing of a stream after interruption using LMS > "Preview" mechanism as used by LMS Announce plugin. > > It's possible the fix for No. 2 has broken playing some HLS stream which > end with m3u8 but has an incorrect MIME type. Incorrect MIME type with > HLS is not as common as a few years ago. Fails with this error on my LMS v8.3.0, 1645717927: [22-04-15 12:54:16.8803] Slim::Formats::loadTagFormatForType (120) Error: Couldn't load module: Plugins::PlayHLS::M3UM3U8 (m3um3u8) : [syntax error at /var/lib/squeezeb oxserver/cache/InstalledPlugins/Plugins/PlayHLS/M3UM3U8.pm line 84, near "Slim::Formats::Playlists::M3U:" Compilation failed in require at (eval 1153) line 2. BEGIN failed--compilation aborted at (eval 1153) line 2. Best regards Bebop SC 8.1.2 on Ubuntu 16.04 on FITPC2 , 3xSB Touch, 2 x Boom, SB Radio, Squeezeplay on PC & MAC, Squeezeplayer & Squeezer on Android phone and tablet. bebop's Profile: http://forums.slimdevices.com/member.php?userid=17061 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
PlayHLS V2.9 is now available using the repo http://bpa-code.github.io/bpaplugins/repo-playhls-v2.xml 2 bug fixes: 1. Fix Material "Add to Playlist" menu which failed to add an item to playlist 2. Fix to resume playing of a stream after interruption using LMS "Preview" mechanism as used by LMS Announce plugin. It's possible the fix for No. 2 has broken playing some HLS stream which end with m3u8 but has an incorrect MIME type. Incorrect MIME type with HLS is not as common as a few years ago. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 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
pointy56 wrote: > Tell me about it, I've been writing software for more than 50 years. :D > > Anyway, that seems to have fixed the problem that I was seeing, the > stream resumes when LMS Announce finishes playing the file - thank you! More testing is needed of HLS stream and ordinary HTTP streams which end with m3u and m3u8. Most of my set of HLS test stream play OK - some obviously don't work because URLs have changed (it been awhile since I did a full test). I'm not sure about some others so I need to do regression test. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 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
bpa wrote: > > Bugs come with the territory of creating plugins. > Tell me about it, I've been writing software for more than 50 years. :D Anyway, that seems to have fixed the problem that I was seeing, the stream resumes when LMS Announce finishes playing the file - thank you! pointy56's Profile: http://forums.slimdevices.com/member.php?userid=72509 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
pointy56 wrote: > I see that there are actually 3 places that M3U->readCurTrackForM3U is > called in Commands.pm, so I'm guessing that all of them would need > changing. > As you say, it would perhaps be simpler if you can somehow separate m3u8 > from m3u; apologies if this gives you a headache when this problem > probably has no impact for most people :) I now have a limited installation of LMS Announce setup to test. Bugs come with the territory of creating plugins. The solution may be deceptively simple (although it took a few iterations to get here) but I need to do a lot more testing to find if this change breaks something else. Can you try the following. 1. Download and save the file "custom-types.conf.txt". 2. Rename it to "custom-types.conf" 3. Replace the file with same name in Plugins/PlayHLS. 4. restart LMS. +---+ |Filename: custom-types.conf.txt| |Download: http://forums.slimdevices.com/attachment.php?attachmentid=37689| +---+ bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 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
bpa wrote: > We sort of working on similar areas. Commands.pm is where "m3u" > playlist processing is hardcoded into using an LMS routine which PlayHLS > has indicated it will do processing - so there will be a disconnect > later. It is not unreasonble as LMS is using a custom extension of m3u > "# CURRTRACK". > > So I am working on feasibility of separating m3u8 processing from m3u as > otherwise the fix may require updates to LMS(e.g. > Slim::Formats::Playlists::M3U->readCurTrackForM3U becomes > $playlisttype->readCurTrackForM3U )which means many users would not get > benefit unless they updated. I see that there are actually 3 places that M3U->readCurTrackForM3U is called in Commands.pm, so I'm guessing that all of them would need changing. As you say, it would perhaps be simpler if you can somehow separate m3u8 from m3u; apologies if this gives you a headache when this problem probably has no impact for most people :) pointy56's Profile: http://forums.slimdevices.com/member.php?userid=72509 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
pointy56 wrote: > If you look at the log I uploaded yesterday you will see that there is > an additional log entry in the test that I ran without PlayHLS: > [22-04-11 16:51:28.0569] > Slim::Formats::Playlists::M3U::readCurTrackForM3U (203) Found track: 0 > > This seems to tie in with what you are saying about the core M3U > processing - I believe this is called from Control::Commands line 1549 > when it processes a 'playlist resume' command for a filetype of 'M3U'. We sort of working on similar areas. Commands.pm is where "m3u" playlist processing is hardcoded into using an LMS routine which PlayHLS has indicated it will do processing - so there will be a disconnect later. Code: if ($load) { # The user may have stopped in the middle of a # saved playlist - resume if we can. Bug 1582 my $playlistObj = $client->currentPlaylist(); if ($playlistObj && ref($playlistObj) && $playlistObj->content_type =~ /^(?:ssp|m3u)$/) { if (!defined $jumpToIndex && !Slim::Player::Playlist::shuffle($client)) { $jumpToIndex = Slim::Formats::Playlists::M3U->readCurTrackForM3U( $client->currentPlaylist->path ); } So I am working on feasibility of separating m3u8 processing from m3u as otherwise the fix may require updates to LMS which means many users would not get benefit unless they updated. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 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
bpa wrote: > There is clearly some side effect in PlayHLS processing and not simply > due to the called routines. Like MP3, M3U processing is a core part of > LMS and sometime it is not treated as a replaceable playlist type (e.g. > M3U routines are sometime directly called rather than indirectly via a > playlist type lookup). > > I'll look some more. > > If it is a LMS core issue, I may have to separate out m3u from m3u8 > processing. When I started PlayHLS - stations used m3u and m3u8 suffix > as if they were the same just with UTF8 support - now with HLS > established there is more rigour and it may be possible to have PlayHLS > deal with m3u8 alone and ignore m3u. If you look at the log I uploaded yesterday you will see that there is an additional log entry in the test that I ran without PlayHLS: [22-04-11 16:51:28.0569] Slim::Formats::Playlists::M3U::readCurTrackForM3U (203) Found track: 0 This seems to tie in with what you are saying about the core M3U processing - this seems to be called from Control::Commands line 1549 when it processes a 'playlist resume' command for a filetype of 'M3U'. pointy56's Profile: http://forums.slimdevices.com/member.php?userid=72509 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
pointy56 wrote: > Yes, that explains it - I had only set Debug for M3U as I was interested > in the M3U read processing (I didn't know there was a copy of _item in > M3UM3U8.pm that would be called from M3U). > With logging set to Debug for M3UM3U8 as well I get the 'missing' _item > messages - I guess that also proves that's the copy of _item that's > being called. > > Thanks for your guidance on this, I hope to spend a bit more time > tracking down the problem tomorrow - having to manually restart the > stream is a showstopper for me. There is clearly some side effect in PlayHLS processing and not simply due to the called routines. Like MP3, M3U processing is a core part of LMS and sometime it is not treated as a replaceable playlist type (e.g. M3U routines are sometime directly called rather than indirectly via a playlist type lookup). I'll look some more. If it is a LMS core issue, I may have to separate out m3u from m3u8 processing. When I started PlayHLS - stations used m3u and m3u8 suffix as if they were the same just with UTF8 support - now with HLS established there is more rigour and it may be possible to have PlayHLS deal with m3u8 alone and ignore m3u. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 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
slartibartfast wrote: > Did you push the update yet? Sorry, no. I've spent time trying to find the LMSAnnounce issues in case it is related/another bug. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 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
bpa wrote: > I'll push out an update later today.Did you push the update yet? Sent from my Pixel 3a using Tapatalk slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609 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
bpa wrote: > Did you enable logging PlayHLS @ DEBUG or just INFO ? The PlayHLS > _item routine only creates a log entry when level is DEBUG so it may > have been executed if log level was INFO. Yes, that explains it - I had only set Debug for M3U as I was interested in the M3U read processing (I didn't know there was a copy of _item in M3UM3U8.pm that would be called from M3U). With logging set to Debug for M3UM3U8 as well I get the 'missing' _item messages - I guess that also proves that's the copy of _item that's being called. Thanks for your guidance on this, I hope to spend a bit more time tracking down the problem tomorrow - having to manually restart the stream is a showstopper for me. pointy56's Profile: http://forums.slimdevices.com/member.php?userid=72509 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
pointy56 wrote: > OK, attached is a file with 2 calls to LMS Announce (the first without > PlayHLS, the second with PlayHLS enabled) with debugging turned on for > M3U - there is a subtle difference in the M3U processing between the > calls. > The M3U routine _item is not called for the playlists when PlayHLS is > enabled - I'm not sure if this is significant but it is the only > difference that I can immediately see. Did you enable logging PlayHLS @ DEBUG or just INFO ? The PlayHLS _item routine only creates a log entry when level is DEBUG so it may have been executed if log level was INFO. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 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
pointy56 wrote: > OK, attached is a file with 2 calls to LMS Announce (the first without > PlayHLS, the second with PlayHLS enabled) with debugging turned on for > M3U - there is a subtle difference in the M3U processing between the > calls. > The M3U routine _item is not called for the playlists when PlayHLS is > enabled - I'm not sure if this is significant but it is the only > difference that I can immediately see. IIRC During testing of the usual playlist adding/deleting/removing functionality I never managed to get _item to be called. Interesting that it is called from this application. There is a copy of _item in PlayHLS plugin - it is strange so either the routine was called but no log entry (unlikely) or else not called from LMS M3U read function processing - which is the probable line in inquiry. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 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
bpa wrote: > While just one command is the difference, the whole context is important > - what happened before interruption, how context was saved and then > resumed is the issue. > > Just from looking at code, AFAICT the plugin will just repeat the same > LMS call as original - the plugin examines the playlist and determines > it is not HLS and so then calls the LMS Playlist processing as before. > So the problem does not look like an obvious error in code (e.g. missing > write routine) so perhaps something more subtle - something getting > lost somewhere. OK, attached is a file with 2 calls to LMS Announce (the first without PlayHLS, the second with PlayHLS enabled) with debugging turned on for M3U - there is a subtle difference in the M3U processing between the calls. The M3U routine _item is not called for the playlists when PlayHLS is enabled - I'm not sure if this is significant but it is the only difference that I can immediately see. +---+ |Filename: Debug log.txt| |Download: http://forums.slimdevices.com/attachment.php?attachmentid=37686| +---+ pointy56's Profile: http://forums.slimdevices.com/member.php?userid=72509 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
pointy56 wrote: > No, sorry, I was showing just the resume command as that is the command > where the problem seems to occur, yet is common to both scenarios. While just one command is the difference, the whole context is important - what happened before interruption, how context was saved and then resumed is the issue. Just from looking at code, AFAICT the plugin will just repeat the same LMS call as original - the plugin examines the playlist and determines it is not HLS and so then calls the LMS Playlist processing as before. So the problem does not look like an obvious error in code (e.g. missing write routine) so perhaps something more subtle - something getting lost somewhere. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 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
bpa wrote: > For both scenarios - there is only one line in the log file for > plug.lmsannounce set to DEBUG ? No, sorry, I was showing just the resume command as that is the command where the problem seems to occur, yet is common to both scenarios. This is what the log shows for an announcement with PlayHLS enabled: [22-04-11 14:14:04.6713] Plugins::LMSannounce::Plugin::handleJSONP (201) handleJSONP cmd=announceFile pid=00:04:20:26:72:6d forcewake= [22-04-11 14:14:04.6725] Plugins::LMSannounce::Plugin::handleJSONP (210) handleJSONP targetClient=00:04:20:26:72:6d [22-04-11 14:14:04.6734] Plugins::LMSannounce::Plugin::savePlaylistState (374) savePlaylistState called [22-04-11 14:14:04.6774] Plugins::LMSannounce::Plugin::announceFile (342) announceFile called: file=/home/tc/track2.mp3 targetvolume= [22-04-11 14:14:04.7043] Plugins::LMSannounce::Plugin::__ANON__ (350) announceFile: plid=56612 [22-04-11 14:14:04.7675] Plugins::LMSannounce::Plugin::__ANON__ (357) announceFile: time=5.59738507843018 repeat:0 targetvolume: [22-04-11 14:14:04.7998] Plugins::PlayHLS::M3UM3U8::read (34) parsing M3U/M3U8 ambiguous playlist: file:///home/tc/Playlists/announceTTS.m3u [22-04-11 14:14:04.8004] Plugins::PlayHLS::M3UM3U8::read (63) Calling M3U read routine [22-04-11 14:14:04.9166] Plugins::LMSannounce::Plugin::playlistLoadedCallback (298) playlistLoadedCallback called for cmd playlist load_done [22-04-11 14:14:37.7974] Plugins::LMSannounce::Plugin::playlistStoppedCallback (262) playlistStoppedCallback called for cmd playlist stop [22-04-11 14:14:37.7990] Plugins::LMSannounce::Plugin::playlistStoppedCallback (267) playlistStoppedCallback: playerid=00:04:20:26:72:6d tmppls=tempplaylist_00042026726d time=5.59738507843018 power=1 mode=play [22-04-11 14:14:37.8004] Plugins::LMSannounce::Plugin::playlistStoppedCallback (276) playlistStoppedCallback: playlist resume parms: ['playlist','resume','tempplaylist_00042026726d','noplay:0'] [22-04-11 14:14:37.8169] Plugins::PlayHLS::M3UM3U8::read (34) parsing M3U/M3U8 ambiguous playlist: file:///home/tc/Playlists/tempplaylist_00042026726d.m3u [22-04-11 14:14:37.8176] Plugins::PlayHLS::M3UM3U8::read (63) Calling M3U read routine [22-04-11 14:14:37.8302] Plugins::LMSannounce::Plugin::__ANON__ (278) playlistStoppedCallback: resume done And this is what the log shows without PlayHLS: [22-04-11 14:30:47.0825] Plugins::LMSannounce::Plugin::handleJSONP (201) handleJSONP cmd=announceFile pid=00:04:20:26:72:6d forcewake= [22-04-11 14:30:47.0837] Plugins::LMSannounce::Plugin::handleJSONP (210) handleJSONP targetClient=00:04:20:26:72:6d [22-04-11 14:30:47.0846] Plugins::LMSannounce::Plugin::savePlaylistState (374) savePlaylistState called [22-04-11 14:30:47.0886] Plugins::LMSannounce::Plugin::announceFile (342) announceFile called: file=/home/tc/track2.mp3 targetvolume= [22-04-11 14:30:47.1152] Plugins::LMSannounce::Plugin::__ANON__ (350) announceFile: plid=56613 [22-04-11 14:30:47.1765] Plugins::LMSannounce::Plugin::__ANON__ (357) announceFile: time=796.04167181778 repeat:0 targetvolume: [22-04-11 14:30:47.3276] Plugins::LMSannounce::Plugin::playlistLoadedCallback (298) playlistLoadedCallback called for cmd playlist load_done [22-04-11 14:31:20.2402] Plugins::LMSannounce::Plugin::playlistStoppedCallback (262) playlistStoppedCallback called for cmd playlist stop [22-04-11 14:31:20.2420] Plugins::LMSannounce::Plugin::playlistStoppedCallback (267) playlistStoppedCallback: playerid=00:04:20:26:72:6d tmppls=tempplaylist_00042026726d time=796.04167181778 power=1 mode=play [22-04-11 14:31:20.2436] Plugins::LMSannounce::Plugin::playlistStoppedCallback (276) playlistStoppedCallback: playlist resume parms: ['playlist','resume','tempplaylist_00042026726d','noplay:0'] [22-04-11 14:31:20.2912] Plugins::LMSannounce::Plugin::__ANON__ (278) playlistStoppedCallback: resume done Thanks for taking a look at this, I do realise that it may not be a problem with PlayHLS. pointy56's Profile: http://forums.slimdevices.com/member.php?userid=72509 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
pointy56 wrote: > This is what the log is showing for the 'resume': > > playlist resume parms: > ['playlist','resume','tempplaylist_00042026726d','noplay:0'] > (noplay is all one word, but for some reason the editor is splitting > it) > > At the moment I have a very simple LMS Announce set-up while I see if it > might do what I'm looking for; I have just the plugin installed and call > it from a browser to play a file: > > http://192.168.1.12:9000/plugins/LMSannounce/js.html?cmd=announceFile&file=%2Fhome%2Ftc%2Ftrack3.mp3&playerid=00%3A04%3A20%3A26%3A72%3A6d > > This plays the file /home/tc/track3.mp3, a short test track; you can > specify the playerid or use 00%3A00%3A00%3A00%3A00%3A00 and it will > choose one. For both scenarios - there is only one line in the log file for plug.lmsannounce set to DEBUG ? bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 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
This is what the log is showing for the 'resume': playlist resume parms: ['playlist','resume','tempplaylist_00042026726d','noplay:0'] At the moment I have a very simple LMS Announce set-up while I see if it might do what I'm looking for; I have just the plugin installed and call it from a browser to play a file: http://192.168.1.12:9000/plugins/LMSannounce/js.html?cmd=announceFile&file=%2Fhome%2Ftc%2Ftrack3.mp3&playerid=00%3A04%3A20%3A26%3A72%3A6d This plays the file /home/tc/track3.mp3, a short test track; you can specify the playerid or use 00%3A00%3A00%3A00%3A00%3A00 and it will choose one. pointy56's Profile: http://forums.slimdevices.com/member.php?userid=72509 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
bpa wrote: > The PlayHLS plugin cannot be temporarily "disabled" (i.e. LMS not > restarted) - file and playlist format registrations are only setup on > LMS start - LMS must be restarted if PlayHLS is disabled. Yes, LMS was restarted after disabling the PlayHLS plugin - I probably shouldn't have said 'temporarily'. bpa wrote: > The plugin checks whether the "M3U" playlist is m3u or m3u8 - if it is > m3u (i.e., no "EXT-X-" directives" then call is passed directly onto LMS > processing (i.e no change to standard LMS) > > So unless there is an error message - then I can only assume the issue > is due to another issue. Are you playing a HLS stream at teh same time ? OK, thanks for the clarification; it is an m3u playlist, and I can see in the log that M3UM3U8 is calling the M3U read routine. I'm not playing an HLS stream at the moment, so I'm curious that I'm seeing a different interaction with and without the PlayHLS plugin. pointy56's Profile: http://forums.slimdevices.com/member.php?userid=72509 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
pointy56 wrote: > I'm not playing an HLS stream at the moment, so I'm curious that I'm > seeing a different interaction with and without the PlayHLS plugin. LM announce is too complicated for me to spend time to set up a test system - so the requested log of what LMS request it is making may show the issue. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 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
slartibartfast wrote: > That works I'll push out an update later today. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 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
bpa wrote: > If you want to test a fix. > > Replace the M3UM3U8.pm in in Cache/InstalledPlugins/PlayHLS with the one > attached below and restart LMS.That works [emoji106] Sent from my Pixel 3a using Tapatalk slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609 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 have been trying out the LMS Announce plugin over the weekend and was seeing exactly this error message - I was about to contact you to see if this might be fixed. I have tried the patch and it seems to do what is required, except for one thing: If I temporarily disable the PlayHLS plugin the current stream is suspended, my test announcement plays and then the stream resumes playing. With the PlayHLS plugin enabled (with the updated M3UM3U8.pm file) the stream suspends, the announcement plays and it switches back to the stream but it does not resume playing and has to be manually 'played'. Is this something that needs to be addressed in PlayHLS? Thanks, Martin pointy56's Profile: http://forums.slimdevices.com/member.php?userid=72509 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
If you want to test a fix. Replace the M3UM3U8.pm in in Cache/InstalledPlugins/PlayHLS with the one attached below and restart LMS. +---+ |Filename: M3UM3U8.pm | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=37685| +---+ bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 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
bpa wrote: > While PlayHLS intercepts read - it looks like I forgot to handle write > (I never expected to write a HLS playlist but forgot LMS can write M3u > ones) > > Does the following error show up in server.log > > > Code: > > > Error: While running $playlistClass->read(): [Can't locate object method "write" via package "Plugins::PlayHLS::M3UM3U8" > > > Yes it does. It was in the file playlist.log I attached to the post I linked to in the other thread. Sent from my Pixel 3a using Tapatalk slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609 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
While PlayHLS intercepts read - it looks like I forgot to handle write (I never expected to write a HLS playlist but forgot LMS can write M3u ones) Does the following error show up in server.log Code: Error: While running $playlistClass->read(): [Can't locate object method "write" via package "Plugins::PlayHLS::M3UM3U8" bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 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
bpa wrote: > > > Code: > > > ["playlists","edit","playlist_id:10911","cmd:add","url:file:///mnt/hddrive//albums/Blues/20th%20Century%20Blues/06%20-%20Complainte%20De%20La%20Seine.mp3"]] > > > > This is for stored-playlists - which (AFAIK) is where the issue lies. bpa wrote: > > > Code: > > > ["playlistcontrol","cmd:add","track_id:8241","library_id:0"]] > > > This is for adding tracks, etc, to the play -queue-. *Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json (Use http: //SERVER:9000/material/?debug=json,cometd to also see update messages, e.g. play queue) 2. Open browser's developer tools 3. Open console tab in developer tools 4. REQ/RESP messages sent to/from LMS will be logged here. cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686 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
slartibartfast wrote: > I don't think there is. OK. It looks like Material call LMS APIs in 2 different ways. Current playlist is added using track id whereas problem one just uses an URL. Code: ["playlists","edit","playlist_id:10911","cmd:add","url:file:///mnt/hddrive//albums/Blues/20th%20Century%20Blues/06%20-%20Complainte%20De%20La%20Seine.mp3"]] ["playlistcontrol","cmd:add","track_id:8241","library_id:0"]] This mean problem lies somewhere in LMS playHLS interaction. To deal with HLS, the PlayHLS plugins has to insert itself into LMS m3u processing to split out m3u8 handling from m3u handling as LMS handles m3u and m3u8 with same routine. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 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
bpa wrote: > Is there an equivalent UI command in Default skin ?I don't think there is. Sent from my Pixel 3a using Tapatalk slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609 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
slartibartfast wrote: > The PlayHLS plugin seems to be preventing updating of playlists when a > track is added to a playlist using "Add to playlist" in material skin. Is there an equivalent UI command in Default skin ? bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 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
The PlayHLS plugin seems to be preventing updating of playlists when a track is added to a playlist using "Add to playlist" in material skin. https://forums.slimdevices.com/showthread.php?p=1052251 If I uninstall the plugin the playlist is updated correctly. Sent from my Pixel 3a using Tapatalk slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609 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
Paul Webster wrote: > The module does not have a "use warnings;" at the top so the double > declaration is not flagged as a problem ... unless, I assume, something > that is calling it has turned on warnings and it persisted. I spent a little bit of time enabling warnings in different "ordinary"£ LMS modules trying to reproduce the error but I couldn't. IIRC plugins are loaded using *eval* and a closure so there may be some other warning settings invloved. > I wonder if the order in which plugins are loaded at startup could be > something that triggers different things happening. The order of plugin load in unclear - I had presumed it would be directory by directory but it is isn't - there is some sort of alphabetical order on last part of module name . Below is output from "-d_startup" enabled. Code: Loaded module: [Slim::Plugin::AppGallery::Plugin] ok! Loaded module: [Slim::Plugin::AudioScrobbler::Plugin] ok! Loaded module: [Plugins::BBCSounds::Plugin] ok! Loaded module: [Plugins::CDplayer::Plugin] ok! Loaded module: [Slim::Plugin::CLI::Plugin] ok! Loaded module: [Slim::Plugin::DateTime::Plugin] ok! Loaded module: [Slim::Plugin::DnDPlay::Plugin] ok! Loaded module: [Slim::Plugin::DontStopTheMusic::Plugin] ok! Loaded module: [Slim::Plugin::ExtendedBrowseModes::Plugin] ok! Loaded module: [Slim::Plugin::Extensions::Plugin] ok! Loaded module: [Slim::Plugin::Favorites::Plugin] ok! Loaded module: [Slim::Plugin::FullTextSearch::Plugin] ok! Loaded module: [Slim::Plugin::InternetRadio::Plugin] ok! Loaded module: [Slim::Plugin::JiveExtras::Plugin] ok! Loaded module: [Plugins::MaterialSkin::Plugin] ok! Loaded module: [Plugins::MusicArtistInfo::Plugin] ok! Loaded module: [Slim::Plugin::MyApps::Plugin] ok! Loaded module: [Slim::Plugin::NetTest::Plugin] ok! Loaded module: [Slim::Plugin::OPMLGeneric::Plugin] ok! Loaded module: [Slim::Plugin::OnlineLibrary::Plugin] ok! Loaded module: [Plugins::PlayHLS::Plugin] ok! Loaded module: [Slim::Plugin::PresetsEditor::Plugin] ok! Loaded module: [Plugins::RTE::Plugin] ok! Loaded module: [Plugins::RadioFrance::Plugin] ok! Loaded module: [Plugins::RadioNet::Plugin] ok! Loaded module: [Slim::Plugin::RandomPlay::Plugin] ok! Loaded module: [Slim::Plugin::RemoteLibrary::Plugin] ok! Loaded module: [Slim::Plugin::Rescan::Plugin] ok! Loaded module: [Slim::Plugin::SN::Plugin] ok! Loaded module: [Slim::Plugin::SavePlaylist::Plugin] ok! Loaded module: [Slim::Plugin::SongScanner::Plugin] ok! Loaded module: [Slim::Plugin::Sounds::Plugin] ok! Loaded module: [Slim::Plugin::Visualizer::Plugin] ok! Loaded module: [Slim::Plugin::WiMP::Plugin] ok! Loaded module: [Plugins::iHeartRadio::Plugin] ok! Loaded module: [Slim::Plugin::Favorites::OpmlFavorites] ok! bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 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 have not made the change to remove the 2nd "my" (the first is in the code that access the routine parameters. I do still get the occasional failure to load. The module does not have a "use warnings;" at the top so the double declaration is not flagged as a problem ... unless, I assume, something that is calling it has turned on warnings and it persisted. I wonder if the order in which plugins are loaded at startup could be something that triggers different things happening. Paul Webster http://dabdig.blogspot.com author of \"now playing\" plugins covering radio france (fip etc), planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, supla finland, abc australia, cbc/radio-canada and rte ireland Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105 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
bpa wrote: > It is strange. > > Michael's conclusion is that it is a Perl implementation issues as it is > valid Perl and should trigger a message of "warning" is enabled. It is > annoying it is not easily reproducible. > > The "my" fix I suggested in #950 creates the additional log message for > you whereas Michael's same fix does not.Is anyone else seeing this or just me? Sent from my Pixel 3a using Tapatalk slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609 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
slartibartfast wrote: > I checked that the plugin was installed earlier to day and then later on > I checked again and it wasn't with no restarts as far as I know and the > server log agrees. I'll keep an eye on it. It is strange. Michael's conclusion is that it is a Perl implementation issues as it is valid Perl and should trigger a message of "warning" is enabled. It is annoying it is not easily reproducible. The "my" fix I suggested in #950 creates the additional log message for you whereas Michael's same fix does not. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 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
Paul Webster wrote: > I donÂ’t think so. > The initialisation stuff is only done once per LMS start.I checked that the > plugin was installed earlier to day and then later on I checked again and it wasn't with no restarts as far as I know and the server log agrees. I'll keep an eye on it. Sent from my Pixel 3a using Tapatalk slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609 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 donÂ’t think so. The initialisation stuff is only done once. Paul Webster http://dabdig.blogspot.com author of \"now playing\" plugins covering radio france (fip etc), planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, supla finland, abc australia, cbc/radio-canada and rte ireland Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105 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
bpa wrote: > Just noticed the LMS version of the "same" file in LMS lib/AnyEvent > directory (I had previously looked in CPAN) had a change in 2019 to > stop similar error message. > Michael blamed it on newer versions of Perl. > https://github.com/Logitech/slimserver/commit/4b35964a8b3d464817b37c15244e28e920307814#diff-0101ecda83de85a6cdcb6e1a4374a4572e46d67ef56d2d9913800884896e353bIt > happened again today but I don't see any recent LMS restarts in the server log. Is it possible for the plugin to "Fail to load" after loading correctly. Sent from my Pixel 3a using Tapatalk slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609 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
bpa wrote: > Just noticed the LMS version of the "same" file in LMS lib/AnyEvent > directory (I had previously looked in CPAN) had a change in 2019 to > stop similar error message. > Michael blamed it on newer versions of Perl. > https://github.com/Logitech/slimserver/commit/4b35964a8b3d464817b37c15244e28e920307814#diff-0101ecda83de85a6cdcb6e1a4374a4572e46d67ef56d2d9913800884896e353bEvery > time I restart LMS now I check to see if PlayHLS has loaded. It has so far even after a couple of plugin updates this morning. Sent from my Pixel 3a using Tapatalk slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609 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
slartibartfast wrote: > It looks like it happened on the 31st May I can't remember any plugin > updates. It would be handy if there was a record of updates somewhere. > > Sent from my Pixel 3a using Tapatalk Just noticed the LMS version of the "same" file in LMS lib/AnyEvent directory (I had previously looked in CPAN) had a change in 2019 to stop similar error message. Michael blamed it on newer versions of Perl. https://github.com/Logitech/slimserver/commit/4b35964a8b3d464817b37c15244e28e920307814#diff-0101ecda83de85a6cdcb6e1a4374a4572e46d67ef56d2d9913800884896e353b bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 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
Paul Webster wrote: > Do you have any players set to resume on LMS startup? Not sure if that could be a reason. The error is occurring on Plugin load. Later Plugin init will be called. Only much later (all plugin installed and LMS startup finished) will Plugin->new be called when a player tries to resume. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 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
Do you have any players set to resume on LMS startup? Paul Webster http://dabdig.blogspot.com author of \"now playing\" plugins covering radio france (fip etc), planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, supla finland, abc australia, cbc/radio-canada and rte ireland Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105 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
bpa wrote: > Any other plugin updates in the meantime that might somehow change order > of plugin loading ? > > As I said the V3 will remove the modules which seem to trigger this > response. However, I haven't been able to work on it in the last week > and I think it need some rework to facilitate some probable LMS changes.It > looks like it happened on the 31st May I can't remember any plugin updates. It would be handy if there was a record of updates somewhere. Sent from my Pixel 3a using Tapatalk slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609 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
slartibartfast wrote: > Now it has happened again. Plugin failed to load. Again reinstalling the > plugin fixed it. I even tried restarting LMS again after reinstalling > the plugin and it is still there so I have no idea why it sometimes > disappears. Any other plugin updates in the meantime that might somehow change order of plugin loading ? As I said the V3 will remove the modules which seem to trigger this response. However, I haven't been able to work on it in the last week and I think it need some rework to facilitate some probable LMS changes. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 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
bpa wrote: > LMS already uses the AnyEvent::Handle module in ImageResizer with same > code but no error and no changes in at least 2 years. > > My suspicion is the PlayHLS load error is a casualty of something else > which may be affecting other plugins but not in a noticeable way. > PlayHLS use of lib modules may be part of it. Makes me more determined > to get V3 finished - no lib modules.Now it has happened again. Plugin failed > to load. Again reinstalling the plugin fixed it. I even tried restarting LMS again after reinstalling the plugin and it is still there so I have no idea why it sometimes disappears. Sent from my Pixel 3a using Tapatalk slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609 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
slartibartfast wrote: > Yes it was on start up but reinstalling PlayHLS somehow fixed > everything. Make of that what you will [emoji3] LMS already uses the AnyEvent::Handle module in ImageResizer with same code but no error and no changes in at least 2 years. My suspicion is the PlayHLS load error is a casualty of something else which may be affecting other plugins but not in a noticeable way. PlayHLS use of lib modules may be part of it. Makes me more determined to get V3 finished - no lib modules. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 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
bpa wrote: > Very odd. > > The string "PLUGIN_EXTENDED_BROWSEMODES_RANDOM_ALBUMS" is defined in the > plugin strings.txt > > Why should a line change in PlayHLS during compile time (not even > execution) - break string lookup ? > > I feel there is something else behind this maybe a bit like the BBC > Sounds change that broke lots of things. > > edit: > > I assumed the errors messages appeared during startup - or perhaps they > appeared on execution of something ? please clarify ?Yes it was on start up > but reinstalling PlayHLS somehow fixed everything. Make of that what you will [emoji3] Sent from my Pixel 3a using Tapatalk slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609 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
slartibartfast wrote: > Removing "my" worked as far as the PlayHLS plugin goes but then this > appeared in the server log. Uninstalling PlayHLS fixed it. I'll try > reinstalling. Very odd. The string "PLUGIN_EXTENDED_BROWSEMODES_RANDOM_ALBUMS" is defined in the plugin strings.txt Why should a line change in PlayHLS during compile time (not even execution) - break string lookup ? I feel there is something else behind this maybe a bit like the BBC Sounds change that broke lots of things. edit: I assumed the errors messages appeared during startup - or perhaps they appeared on execution of something ? please clarify ? bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 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
slartibartfast wrote: > Removing "my" worked as far as the PlayHLS plugin goes but then this > appeared in the server log. Uninstalling PlayHLS fixed it. I'll try > reinstalling. After reinstalling the plugin all is fine. I have no idea what went wrong. slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609 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
bpa wrote: > Re: the AnyEvent problems, > > AFAICT The message "masks earlier declaration in same scope" is by > default a warning and not an error which seems to indicate something may > have changed warning levels. Not definite though. > > The AnyEvent module is commonly used and maintained and still has same > code - so it is not considered an error in "normal" situations. > > However, I can't reproduce even by altering warning levels. There may be > an interaction with another plugin or AnyEvent::common_sense > > > Workaround that might work. Edit the file > PlayHLS/lib/MyAnyEvent/Handlehls.pm and at line 2048 delete the "my" > coloured in red. > > Code: > > > our $ERROR_SYSCALL; > our $ERROR_WANT_READ; > > sub _tls_error { > my ($self, $err) = @_; > > return $self->_error ($!, 1) > if $err == Net::SSLeay::ERROR_SYSCALL (); > > my $err = Net::SSLeay::ERR_error_string (Net::SSLeay::ERR_get_error ()); > > # reduce error string to look less scary > $err =~ s/^error:[0-9a-fA-F]{8}:[^:]+:([^:]+):/\L$1: /; > > if ($self->{_on_starttls}) { > (delete $self->{_on_starttls})->($self, undef, $err); > &_freetls; > } else { > &_freetls; > $self->_error (Errno::EPROTO, 1, $err); > } > } > > > Removing "my" worked as far as the PlayHLS plugin goes but then this appeared in the server log. Uninstalling PlayHLS fixed it. I'll try reinstalling. +---+ |Filename: playhlsserver.log| |Download: http://forums.slimdevices.com/attachment.php?attachmentid=34800| +---+ slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609 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
bpa wrote: > Re: the AnyEvent problems, > > AFAICT The message "masks earlier declaration in same scope" is by > default a warning and not an error which seems to indicate something may > have changed warning levels. Not definite though. > > The AnyEvent module is commonly used and maintained and still has same > code - so it is not considered an error in "normal" situations. > > However, I can't reproduce even by altering warning levels. There may be > an interaction with another plugin or AnyEvent::common_sense > > > Workaround that might work. Edit the file > PlayHLS/lib/MyAnyEvent/Handlehls.pm and at line 2048 delete the "my" > coloured in red. > > Code: > > > our $ERROR_SYSCALL; > our $ERROR_WANT_READ; > > sub _tls_error { > my ($self, $err) = @_; > > return $self->_error ($!, 1) > if $err == Net::SSLeay::ERROR_SYSCALL (); > > my $err = Net::SSLeay::ERR_error_string (Net::SSLeay::ERR_get_error ()); > > # reduce error string to look less scary > $err =~ s/^error:[0-9a-fA-F]{8}:[^:]+:([^:]+):/\L$1: /; > > if ($self->{_on_starttls}) { > (delete $self->{_on_starttls})->($self, undef, $err); > &_freetls; > } else { > &_freetls; > $self->_error (Errno::EPROTO, 1, $err); > } > } > > > It only started happening on 25-05-2021. It was fine on 24-05-2021 with the same version of LMS. There must have been a couple of plugin updates but I can't remember which ones. Sent from my Pixel 3a using Tapatalk slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609 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
Re: the AnyEvent problems, AFAICT The message "masks earlier declaration in same scope" is by default a warning and not an error which seems to indicate something may have changed warning levels. Not definite though. The AnyEvent module is commonly used and maintained and still has same code - so it is not considered an error in "normal" situations. However, I can't reproduce even by altering warning levels. There may be an interaction with another plugin or AnyEvent::common_sense Workaround that might work. Edit the file PlayHLS/lib/MyAnyEvent/Handlehls.pm and at line 2048 delete the "my" coloured in red. Code: our $ERROR_SYSCALL; our $ERROR_WANT_READ; sub _tls_error { my ($self, $err) = @_; return $self->_error ($!, 1) if $err == Net::SSLeay::ERROR_SYSCALL (); my $err = Net::SSLeay::ERR_error_string (Net::SSLeay::ERR_get_error ()); # reduce error string to look less scary $err =~ s/^error:[0-9a-fA-F]{8}:[^:]+:([^:]+):/\L$1: /; if ($self->{_on_starttls}) { (delete $self->{_on_starttls})->($self, undef, $err); &_freetls; } else { &_freetls; $self->_error (Errno::EPROTO, 1, $err); } } bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 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
slartibartfast wrote: > 21-05-26 06:54:23.2077] Slim::bootstrap::tryModuleLoad (286) Warning: > Module [Plugins::PlayHLS::Plugin] failed to load: > "my" variable $err masks earlier declaration in same scope at > /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/PlayHLS/lib/MyAnyEvent/Handlehls.pm > line 2048. > . > . > [21-05-26 06:54:23.2103] Slim::Utils::PluginManager::load (323) Error: > Couldn't load Plugins::PlayHLS::Plugin OK. It's the AnyEvent associated error. As it seems to have started recently I can only assumed it is associated to some 8.2 changes so I'll see if I can reproduce it. On first inspection, a simple name change might fix the issue but I'd like to verify. I don't want to put too much effort into 2.8 as PlayHLSv3 is for the most part ready except there are few issues that need to be chased down and then test on 8.2. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 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
bpa wrote: > I had assumed the "plugin failed to load" was the only message in log > which usually means a download issue. > @slartibartfast - can you check server.log ? > > @Paul, I think you're right the "bootstrap" error you're referencing > might be timing using the AnyEvent module. > I haven't chased that issue as in PlayHLSv3 I have removed the AnyEvent > module as LMS now has full HTTP 1.1 and https support.21-05-26 06:54:23.2077] > Slim::bootstrap::tryModuleLoad (286) Warning: Module [Plugins::PlayHLS::Plugin] failed to load: "my" variable $err masks earlier declaration in same scope at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/PlayHLS/lib/MyAnyEvent/Handlehls.pm line 2048. Compilation failed in require at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/PlayHLS/lib/MyAnyEvent/HTTPhls.pm line 47. BEGIN failed--compilation aborted at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/PlayHLS/lib/MyAnyEvent/HTTPhls.pm line 47. Compilation failed in require at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/PlayHLS/HLSPLAY.pm line 30. BEGIN failed--compilation aborted at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/PlayHLS/HLSPLAY.pm line 30. Compilation failed in require at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/PlayHLS/Plugin.pm line 14. BEGIN failed--compilation aborted at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/PlayHLS/Plugin.pm line 14. Compilation failed in require at (eval 1070) line 1. BEGIN failed--compilation aborted at (eval 1070) line 1. [21-05-26 06:54:23.2103] Slim::Utils::PluginManager::load (323) Error: Couldn't load Plugins::PlayHLS::Plugin Sent from my Pixel 3a using Tapatalk slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609 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
Paul Webster wrote: > Maybe I over interpreted but see post 935 and the following ones in this > thread. I had assumed the "plugin failed to load" was the only message in log which usually means a download issue. @slartibartfast - can you check server.log ? @Paul, I think you're right the "bootstrap" error you're referencing might be timing using the AnyEvent module. I haven't chased that issue as in PlayHLSv3 I have removed the AnyEvent module as LMS now has full HTTP 1.1 and https support. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 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
Maybe I over interpreted but see post 935 and the following ones in this thread. Paul Webster http://dabdig.blogspot.com author of \"now playing\" plugins covering radio france (fip etc), planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, supla finland, abc australia, cbc/radio-canada and rte ireland Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105 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
Paul Webster wrote: > I think this was diagnosed before as the PlayHLS plugin being invoked > early during the LMS startup process but before everything it needs was > ready i.e. a timing issue that might not always happen. I don't recall see this. Any links to the where it was diagnosed ? It's a but strange as all initialisation does is register a protocol handler and playlist parser. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 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 think this was diagnosed before as the PlayHLS plugin being invoked early during the LMS startup process but before everything it needs was ready i.e. a timing issue that might not always happen. Paul Webster http://dabdig.blogspot.com author of \"now playing\" plugins covering radio france (fip etc), planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, supla finland, abc australia, cbc/radio-canada and rte ireland Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105 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
slartibartfast wrote: > I have just noticed my PlayHLS V2 plugin is showing up as "plugin failed > to load". Restarting LMS didn't help. This is on latest LMS 8.2. I can't test on 8.2 at the moment. I haven't made any changes/updates to the repo file or the ZIP file. The repo URL and ZIP both work as I checked them outside of LMS. Both are hosted on github so the usual issues with SF don't apply. On a 8.1 system - I have uninstalled and reinstalled plugin OK. It is probably a intermittent problem and error is being cached somewhere. You could try a https URL instead of a http URL for the repo. It maybe an 8.2 issue - but I cannot see why one plugin should be affected more than others as it is just downloads from a normal source. To debug you need to enable logging for plugin.extensions and server.plugins bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 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 have just noticed my PlayHLS V2 plugin is showing up as "plugin failed to load". Restarting LMS didn't help. This is on latest LMS 8.2. Sent from my Pixel 3a using Tapatalk slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609 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
Paul Webster wrote: > I never explicitly change the Radio France URLs from https to > hls-anything. > The contents of "More" is also not something that I knowingly set (at > least for the stream link). > It appears as hlsplays: or whatever as a result of the https content > being detected by PlayHLS. That what I thought - I'll have to check some more but it's not urgent. > Regarding the stream URL parsing ... I didn't intend to suggest removing > all of the rest of the URL - just a to be agreed set. > > I'll send you some more info about the stream I am looking into at the > moment. I'd prefer to find a generic solution but some broadcasters of HLS streams are doing custom variations as they usually can control the player (i.e. App, browser based) so generic may not be possible in this case. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 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 never explicitly change the Radio France URLs from https to hls-anything. The contents of "More" is also not something that I knowingly set (at least for the stream link). It appears as hlsplays: or whatever as a result of the https content being detected by PlayHLS. Regarding the stream URL parsing ... I didn't intend to suggest removing all of the rest of the URL - just a to be agreed set. I'll send you some more info about the stream I am looking into at the moment. Paul Webster http://dabdig.blogspot.com author of \"now playing\" plugins covering radio france (fip etc), planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, supla finland, abc australia, cbc/radio-canada and rte ireland Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105 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
Paul Webster wrote: > I am working on something that needs (at least) a specific HTTP header > to be set (might also need some cookies) to get a protected stream to > play. > The stream is only available via HLS. > > I can make the stream work using mplayer -http-header-fields. > The header name is fixed but the contents is variable (I have not > determined if the change of the value is per stream launch or on a > longer timer that I can provide outside). > > I was thinking that one way to achieve it would be to append something > to the URL that is used to launch things and then have PlayHLS create > header from it and strip it. > > something like > hlsplay:streamer.com/protectedtream.m3u8?headerlist=name1=value1,name2=value2 > > Any thoughts? The hlsplay must not be used as a playable URL - it is used internally by plugin to deal with m3u8 playlist and if used directly will skip some HLS processing. Many HLS URL already have that have to be supplied with http parameters - so PlayHLS cannot strip universally parameters from a http URL. The parameters would have be "special" a bit like the LMS "#SLIM" Can you give an example of an URL that works with mplayer ? Does it work with ffplay - I prefer ffplay as it give better logging facilities) BTW - I noticed when playing one of your Radio France that a "hlsplay" URL appeared in "More" - this should not happen. At some point I was going to check it out. It can happen if the "wrong" LMS API is used - the API to show playing URL of a son is $song->streamUrl - if that is what you using then I need to look further (e.g you are using requesting hslplay URL to play) bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 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 am working on something that needs (at least) a specific HTTP header to be set (might also need some cookies) to get a protected stream to play. The stream is only available via HLS. I can make the stream work using mplayer -http-header-fields. The header name is fixed but the contents is variable (I have not determined if the change of the value is per stream launch or on a longer timer that I can provide outside). I was thinking that one way to achieve it would be to append something to the URL that is used to launch things and then have PlayHLS create header from it and strip it. something like hls:streamer.com/protectedtream.m3u8?headerlist=name1=value1,name2=value2 Any thoughts? Paul Webster http://dabdig.blogspot.com author of \"now playing\" plugins covering radio france (fip etc), planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, supla finland, abc australia, cbc/radio-canada and rte ireland Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105 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
Paul Webster wrote: > Very good chance that there was (France Inter playing somewhere). The module in question is an old AnyEvent module which I used to add HTTP 1.1. support (i.e. persistent connection - multiple http GETs over same TCP connection) which reduced processor load considerably for HLS and also enabled old version of LMS to play HLS streams because it had better TLS support than pre LMS 7.9. HTTP 1.1. has since been added to LMS and also many users have now migrated to 8.* so I have felt the time has come to remove this module dependency and go back to using LMS HTTP methods. I'm working adding support for fMP4 (fragmented MPEG4 - basically DASH MPEG4 fragments under HLS) - it is the remaining unsupported media type in HLS V2. If the error is only occasional then there is no rush to update the module but it should go away when I finish the If the fMP4 support takes longer than I'd like - I'll do an interim release (>8.1 only) which basically would be current HLSv2 without AnyEvent module - if only to test that LMS HTTP 1.1. support is OK. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 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
Very good chance that there was (France Inter playing somewhere). Paul Webster http://dabdig.blogspot.com author of \"now playing\" plugins covering radio france (fip etc), planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, supla finland, abc australia, cbc/radio-canada and rte ireland Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105 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
Paul Webster wrote: > Sometimes on LMS restart I find that PlayHLS plugin fails to load. > Perhaps a timing issue somewhere. Was a player playing a HLS stream previously before the restart ? bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 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
Sometimes on LMS restart I find that PlayHLS plugin fails to load. Perhaps a timing issue somewhere. For example Code: [21-04-11 10:39:14.5433] Slim::bootstrap::tryModuleLoad (286) Warning: Module [Plugins::PlayHLS::Plugin] failed to load: "my" variable $err masks earlier declaration in same scope at /usr/local/slimserver/Cache/InstalledPlugins/Plugins/PlayHLS/lib/MyAnyEvent/Handlehls.pm line 2048. Compilation failed in require at /usr/local/slimserver/Cache/InstalledPlugins/Plugins/PlayHLS/lib/MyAnyEvent/HTTPhls.pm line 47. BEGIN failed--compilation aborted at /usr/local/slimserver/Cache/InstalledPlugins/Plugins/PlayHLS/lib/MyAnyEvent/HTTPhls.pm line 47. Compilation failed in require at /usr/local/slimserver/Cache/InstalledPlugins/Plugins/PlayHLS/HLSPLAY.pm line 30. BEGIN failed--compilation aborted at /usr/local/slimserver/Cache/InstalledPlugins/Plugins/PlayHLS/HLSPLAY.pm line 30. Compilation failed in require at /usr/local/slimserver/Cache/InstalledPlugins/Plugins/PlayHLS/Plugin.pm line 14. BEGIN failed--compilation aborted at /usr/local/slimserver/Cache/InstalledPlugins/Plugins/PlayHLS/Plugin.pm line 14. Compilation failed in require at (eval 1152) line 1. BEGIN failed--compilation aborted at (eval 1152) line 1. [21-04-11 10:39:14.5494] Slim::Utils::PluginManager::load (323) Error: Couldn't load Plugins::PlayHLS::Plugin Paul Webster http://dabdig.blogspot.com author of \"now playing\" plugins covering radio france (fip etc), planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, supla finland, abc australia, cbc/radio-canada and rte ireland Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105 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
bpa wrote: > These streams need full mPEG-4 video & audio handling. > > The pLayhLS V2 implements MP3, ADTS, MPEG-2/MP3, MPEG2-AAC and > MPEG2-Video handling > I didn't implement MPEG4 as it was never used in any streams I found up > to now. > > So this needs whole chunk of new code. I have some MPEG-4 ftype audio > (no video and no stype) handling elsewhere but it would take time and so > it will not be done soon. thank you for your effort. olivaar's Profile: http://forums.slimdevices.com/member.php?userid=64848 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
These streams need full mPEG-4 video & audio handling. The pLayhLS V2 implements MP3, ADTS, MPEG-2/MP3, MPEG2-AAC and MPEG2-Video handling I didn't implement MPEG4 as it was never used in any streams I found up to now. So this needs whole chunk of new code. I have some MPEG-4 ftype audio (no video and no stype) handling elsewhere but it would take time and so it will not be done soon. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 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
Parsing the extra "#EXT-X" is the least of the problems. IT was easy to handle. There are codec issues now and something else I'm not sure of. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 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
bpa wrote: > I look into this and hope it is this simple bit and not also just a > stepping stone onto another problem with the video stream and the > "OPTIONS" > > I think this is the first stream of version 7 that has been tried. Most > audio streams are older version of the HLS protocol - live with no > significant amount of audio buffered . > This additional element is required for seeking to a specific time point > - seek is not a feature which is supported by the plugin. thank you for looking in to the code. I noticed one thing while reading the specification of https://tools.ietf.org/html/rfc8216: there is no defined order of the tags. the assumption that #EXIF always comes first can sometimes be wrong. Therefore I would adapt the code in ScanHLS, line 187 so that a) recognize EXIF and add only the duration and segmentlength to hlsdetails and b) in a seperate if: recognize lines which didnt start with a #, then that must be the url. this marks the end of a media segment and triggers the push of informations to hlsdetails.chunk Relevant extracts from specifiaction -Each line is a URI, is blank, or starts with the character '#'. Blank lines are ignored. Lines that start with the character '#' are either comments or tags. Tags begin with #EXT. They are case sensitive. All other lines that begin with '#' are comments and SHOULD be ignored. Playlist tags specify either global parameters of the Playlist or information about the Media Segments or Media Playlists that appear after them. - therefor lines with urls ar always the last line of a media segment olivaar's Profile: http://forums.slimdevices.com/member.php?userid=64848 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