dCore Import Debian Packages to Mountable SCE extensions > dCore x86 Imported Extensions

Logitech Media Server

(1/10) > >>

Jason W:
Available from the below repo,

http://debian.slimdevices.com stable main

importsce logitechmediaserver

Those who have the player please test, I made a startup script to where the server seems to run here but I lack the equipment to see that it works as expected.

sbp:
Hi Very interesting - I have long wanted to combine the Logitech Media Server (LMS) with the tinycore linux. I think they would be a perfect match.

I would be even more interested in trying to run it on a Raspberry (ie the piCore) as this very energy efficient board would be very attractive as a 24/7 LMS server. Do you think that this would be possible as well?

Cheers
Steen

Jason W:
Actually, on looking at their main Debian package, all you need is perl and it will run on a variety of arch's, including arm. 

http://downloads.slimdevices.com/nightly/7.7/sc/b69eedd/logitechmediaserver_7.7.4~1395393887_all.deb

You then need to execute some commands:

mkdir pkg
ar -x logitechmediaserver_7.7.4~1395393887_all.deb
tar xvf data.tar.gz -C pkg

Then download the attached file, place it in the extension:

mkdir -p pkg/usr/local/tce.installed
cp logitechmediaserver pkg/usr/local/tce.installed/
sudo chmod -R 775 pkg/usr/local/tce.installed
sudo chown -R root:staff pkg/usr/local/tce.installed

For Pi:

cp logitechmediaserver-pi pkg/usr/local/tce.installed/logitechmediaserver
sudo chmod -R 775 pkg/usr/local/tce.installed
sudo chown -R root:staff pkg/usr/local/tce.installed

Then make the extension

mksquashfs pkg /etc/sysconfig/tcedir/sce/logitechmediaserver.sce -noappend

On piCore:

mksquashfs pkg /etc/sysconfig/tcedir/optional/logitechmediaserver.tcz -noappend

Jason W:
Oops, this does not run as is on the Allwinner A10 version of armk, but the above instructions should work on supported platforms.

LDS:
Thanks Jason.
I wanted to to some homework before getting back to you and I appreciate you posted your answer to my question in the forum.

First i tried your instructions in your 1st post to the forum (the easy way) using importsce and loadsce. Running /etc/init.d/logitechmediaserver did not complete: /usr/sbin/squeezeboxserver_safe not found. The file is in the un archived tree (ar-x of the package, untar of data.tar.gz), but it is not loaded (probably not in the sce, ... notice the script expect to find under sbin as opposed to bin!!. I tested with the three branches (stable, testing and unstable that use version 7.7.7.3, 7.7.4, and 7.8.x respectively. Same result.

I then tried the 2nd post (manual) method and noticed that all the architectures were in the staging (under pkg) tree. Used your startup script which seems to be an extract of the Debian postinstall file. I must confess there were some tar (not more space on the device ) errors at the very end of the mksquashfs, even though I had more than enough (+100MB over estimated with option -s to importsce). I do not recall now why it did not work. i rebooted several times and finally gave up as I lost all my work (scripting a couple of hours got lost with some funny non backing up despite I used backup as root before rebooting.

Please let me know if you (a) see the files I don't and most important (b) if you see the server running (easy check ps, the logs or just pointing any browser at ipaddress:9000 of your system). You don't  need players to check if the server is running. Is there any place where I can read what should be done on Debian startup script to get things up on DCL?

Thanks again for your dedication! Impressive one man task... It would be nice to get this problem nailed down...
 :)

Ps. I always liked Debian's philosophy among distros, and also the magic of TCL, so a combination of the two in DCL is really something BIG :)
Btw DCL too close to DSL ;-)

Navigation

[0] Message Index

[#] Next page

Go to full version