Thanks that helped a bit.
I've gone back in 7.9 and the problem seems to start with the following commit: 7672a9aa4113005687112cd8a9eda728c6b19b09
https://github.com/Logitech/slimserv...eda728c6b19b09
The commit before that (cfe5ec0b1c09fabd9c65e66366a781e3f8ecf0e2) works properly but with the above commit at May 22'nd 2018 the Segmentation Fault problem starts. I think this was also introduced in 7.9 which explains why 7.7 and 7.8 works properly but the 7.9 and 8.0 branch doesn't.
If I apply the following on the latest 7.9 it starts to work again in my setup (this is probably not correct solution though since it removes support for Audio::Scan 0.99):
The above also solves the Segmentation Fault on latest public/8.0 version but 8.0 now instead fails with this error which I guess might be related to perl 5.8.8 ?Code:diff --git a/lib/Audio/Scan.pm b/lib/Audio/Scan.pm index 5741bfd..4584fda 100644 --- a/lib/Audio/Scan.pm +++ b/lib/Audio/Scan.pm @@ -7,7 +7,7 @@ our $VERSION; require XSLoader; BEGIN { - foreach ('0.99', '0.93', '0.95', '0.94') { + foreach ('0.93', '0.95', '0.94') { eval { XSLoader::load('Audio::Scan', $_); }; if (!$@) {
Code:Bareword found where operator expected at /media/disk2/squeezecenter/8.0/server/Slim/Player/ProtocolHandlers.pm line 117, near "return $handler && $handler =~ /::" (Might be a runaway multi-line // string starting on line 114) (Do you need to predeclare return?) Search pattern not terminated at /media/disk2/squeezecenter/8.0/server/Slim/Player/ProtocolHandlers.pm line 117. Compilation failed in require at /media/disk2/squeezecenter/8.0/server/Slim/Music/Info.pm line 31. BEGIN failed--compilation aborted at /media/disk2/squeezecenter/8.0/server/Slim/Music/Info.pm line 31. Compilation failed in require at /media/disk2/squeezecenter/8.0/server/Slim/Utils/Misc.pm line 48. Compilation failed in require at /opt/squeezecenter80/slimserver.pl line 234. BEGIN failed--compilation aborted at /opt/squeezecenter80/slimserver.pl line 234.
Results 11 to 12 of 12
-
2020-07-31, 01:43 #11Erland Isaksson (My homepage)
Developer of many plugins/applets
Starting with LMS 8.0 I no longer support my plugins/applets (see here for more information )
-
2020-07-31, 01:55 #12
Is Ubuntu 8.04/Perl 5.8.8 no longersupported ?
> If I apply the following on the latest 7.9 it starts to work again in my
> setup (this is probably not correct solution though since it removes
> support for Audio::Scan 0.99):
Instead of fiddling with core files you could try to compile Audio::Scan
for your platform and put it in your CPAN/arch folder (inside LMS).
> The above also solves the Segmentation Fault on latest public/8.0
> version but 8.0 now instead fails with this error which I guess might be
> related to perl 5.8.8 ?
>
> Code:
> --------------------
>
> Bareword found where operator expected at /media/disk2/squeezecenter/8.0/server/Slim/Player/ProtocolHandlers.pm line 117, near "return $handler && $handler =~ /::"
> (Might be a runaway multi-line // string starting on line 114)
That "//" statement indeed is relatively new. What if you replaced it
with "||"? Or put it on one line? "//" is an operator I didn't even know
before that pull request :-)
--
Michael