PDA

View Full Version : LMS without perl ?



Gregoire
2017-06-04, 01:07
Hello,

with all perl upgrade I got problem with LMS not supporting the new released perl and my distro (arch) change it "often".

I don't need any special feature of LMS, only to access the directory structure of my sound files from my squeezebox radio.

I look at picoreplayer which seems to have an LMS replacement feature (not certain) and also a docker solution https://hub.docker.com/r/gfjardim/logitechmediaserver/
which date two years back but could do the job.

Anyone got a suggestion of a reliable solution ?

Thank you very much.

Mnyb
2017-06-04, 01:12
In picoreplayer you can install the complete LMS with all bells and whistles .
It's not preinstalled in the image but some click and point options in the PCP web gui and LMS installs.

Running a VM is also neat ( I do that ) just pick a more stable distro and run in virtualbox or something .

Gregoire
2017-06-04, 01:19
Have you compiled picoreplayer for a non rasp's computer ?

I thought it was in the "core" and not something to reput LMS... thank you very much for the info.
A WM seems lots just to share music on one device, but it might be the easyest for sure.

Thanks again.

Mnyb
2017-06-04, 01:54
Never compiled an OS :)

But VM are surprisingly easy these days . And for servers they make a lot of sense you just move them when you change hardware..

Paul Webster
2017-06-04, 02:08
Running piCorePlayer does not remove the need for LMS - but if you use the web-based menu system in pCP to install LMS within pCP then you remove the problem you are facing with installing LMS on a device that has 3rd-party updates messing up/improving your Perl set-up since the pCP team would not (at least no intentionally) release an update that breaks LMS.

Roland0
2017-06-04, 11:44
with all perl upgrade I got problem with LMS not supporting the new released perl and my distro (arch) change it "often".
Anyone got a suggestion of a reliable solution ?

Another option is to use a non-system perl (e.g. installed in /opt) for LMS. That way, system perl updates do not affect LMS.
I've used this approach on Gentoo (which also frequently updates the packaged perl) for a couple of years without any issues.

paul-
2017-06-04, 12:54
since the pCP team would not (at least no intentionally) release an update that breaks LMS.

lol, thanks for the vote of confidence. But yes, we won't change your perl version without building the required perl packages. pCP is currently using perl 5.24

bpa
2017-06-04, 12:58
Another option is to use a non-system perl (e.g. installed in /opt) for LMS. That way, system perl updates do not affect LMS.
I've used this approach on Gentoo (which also frequently updates the packaged perl) for a couple of years without any issues.

I think perlbrew ( https://perlbrew.pl/ ) can be used ot manage multiple versions of perl on same system.

JJZolx
2017-06-04, 14:18
Another option is to use a non-system perl (e.g. installed in /opt) for LMS. That way, system perl updates do not affect LMS.

Sounds like damned near the only option.