Tiny Core Base > Raspberry Pi

Logitech Media Server (LMS) on TC.7

<< < (5/31) > >>

bmarkus:
Hi Paul

it is great. However it would be good to have an LMS as a TCZ for the stock piCore 7.0

Paul_123:

--- Quote from: bmarkus on January 18, 2016, 10:22:36 AM ---Hi Paul

it is great. However it would be good to have an LMS as a TCZ for the stock piCore 7.0

--- End quote ---

The perl is simple.....what we have to put some thought into is where the Sql database is stored. 

Also, what version of LMS.

jgrulich:

--- Quote ---It's very picky.   It didn't work on my wandboard that was arm7 until I made it exactly as stated.   No worries, I can supply the custom perl to these guys.

--- End quote ---

Yes, you're right. I've tested the updated version of perl 5.22, but no lucky. It still looks for the right one from some 5.20 and older.

I've tried to build the CPAN modules within the 5.20.1 version from 6.x distro, but it stops and requires to install yasm, or nasm. But it is not in the 7.x repo, or can't be found by search engine.

sbp:


--- Quote from: Paul_123 on January 18, 2016, 10:53:02 AM ---The perl is simple.....what we have to put some thought into is where the Sql database is stored. 

Also, what version of LMS.

--- End quote ---

This is great news. I agree that we need to consider how to build it the smartest way.

The LMS is relatively often updated, whereas the PERL version is rather stable.

So I still think it would optimal if we could build scripts that allowed us to update the LMS directly independent from the PERL. Maybe pull the files from the tar ball or GIT - like described here: http://forums.slimdevices.com/showthread.php?99648-Howto-build-a-self-contained-LMS 

Paul_123:

--- Quote from: sbp on January 19, 2016, 01:56:54 AM ---The LMS is relatively often updated, whereas the PERL version is rather stable.

So I still think it would optimal if we could build scripts that allowed us to update the LMS directly independent from the PERL. Maybe pull the files from the tar ball or GIT - like described here: http://forums.slimdevices.com/showthread.php?99648-Howto-build-a-self-contained-LMS

--- End quote ---

I'll package up perl in it's own extension.   I recompiled it last night to move it to path /usr/local/perl5/   The extension will probably just be called perl5.20.3.tcz    Paths are all hard coded in perl, so as long as you call "/usr/local/perl5/bin/perl" it knows where everything is.

As for LMS
At home, on my main server, I have the full git tree downloaded, and I run LMS from that tree.  When I want to update, I just run git pull.

What I did to run LMS in piCore, was just download the tarball from git, extract it.   The CPAN files that are in the default git, work fine.    Then  edit the first line of both slimserver.pl, and scanner.pl to point at the special version of perl.   Then start the system.

Is there any reason that we would not just build an extension with the latest LMS and then put the slimserver.conf and data folders in the backup set  versus putting the whole tree in a persistant partition?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version