Package Details: logitechmediaserver 7.9.1.arch3-1

Git Clone URL: https://aur.archlinux.org/logitechmediaserver.git (read-only)
Package Base: logitechmediaserver
Description: Slimserver for Logitech Squeezebox players. This server is also called Logitech Media Server. (Release-Version, if you prefer bleeding edge consider using logitechmediaserver-git instead)
Upstream URL: https://github.com/stefansielaff/slimserver
Keywords: logitech slimserver squeezebox
Licenses: GPL, custom
Submitter: vesath
Maintainer: stef.an
Last Packager: stef.an
Votes: 66
Popularity: 0.218843
First Submitted: 2011-11-03 06:54
Last Updated: 2017-09-30 14:10

Latest Comments

t.langlois commented on 2018-03-26 08:19

Thanks, oalexander & stef.an.

Yesterday I could install perl-net-upnp ignoring the architecture (makepkg -Acsi). Then I could install logitechmediaserver.

I just tested running the server and it works !

I had to follow thomassh's advice and install polkit (pacman -S polkit).

stef.an commented on 2018-03-26 08:01

It looks like perl-net-upnp has been removed from the official repos and the aur package doesn't have the arm flag. Currently you can either manually install perl-net-upnp by adding arch=armv7h or remove the dependency from this package if you don't use upnp. I'll try to find a solution apsap.

oalexander commented on 2018-03-25 19:23

I believe that perl-net-upnp is in AUR as well. You will have to install it first before logitechmediaserver

t.langlois commented on 2018-03-24 21:48

Did someone installed this package on ARM ? While trying to install the perl-net-upnp package (dependency) I get the error:

$ makepkg -si ==> ERROR: perl-net-upnp is not available for the 'armv7h' architecture.

==> ERROR: An unknown error has occurred. Exiting...

Is there any way to solve this ?

My hardware is a Wandboard Quad.

thomassh commented on 2018-01-28 12:38

I just decided to update the rather old arch installation on my media server, which I rarely dare doing as updating e.g. LMS usually isn't completely painless and this time is no exception, however it wasn't too bad :-)

So just to let you know, it sems that you are lacking a dependency on "polkit" and maybe the "json-c" version. The detailed story goes like this:

After upgrading to LMS 7.9.1, which also turned out to depend on an AUR build of perl-net-upnp) it failed to start due to an error "bla. bla. freedesktop bla. bla. Polkit1" - unfortunately the exact error message has left my console history. However, after some googling I decided to do a "pacman -S polkit" and that did the trick.

Alas, I was not there yet. The logitechmediaserver service now failed to start due to the error:

slimserver.pl[458]: The following modules failed to load: EV JSON::XS

Frustrating at first, as I thought that my system was completely up to date at this point, however that turned out not to be true, so "pacman -Syu" made everything work like a charm. I think that this indicates that you also are missing a dependency on a "JSON thingy" in the package - it may be "json-c" version but I'm not completely sure.

ispotter commented on 2017-10-09 17:37

Have built and installed arch3 on x64 and can still scan as expected. Have never used LMS for anything other than audio so that's fine by me for now.

Thanks for the work on this guys.

Ian

setone commented on 2017-10-04 14:41

mervinb, I appreciate you testing my changes. The point of those patches was just to get us to a clean, usable build and to be able to scan using scanner.pl. The video scanning still isn't coded properly but that could be fixed with some work. FWIW I agree with those who have no use for the video and image features of LMS, so IMO arch3 is the way to go - thanks again stef.an.

Using arch3, we can get scanner.pl to work with two patches. If you have specified directories for pictures or video in your preferences, be sure to get rid of those (before installing arch3) or scanning will still fail.

LMS.pm needs to be patched because we have dropped Media::Scan:

/opt/logitechmediaserver/Slim/Utils/Scanner/LMS.pm
18d17
< use Media::Scan;
36a36,46
>
> # These flags come from Media::Scan, which we don't use any more
> use constant MS_LOG_ERR => 1;
> use constant MS_LOG_DEBUG => 4;
> use constant MS_LOG_MEMORY => 9;
> use constant MS_USE_EXTENSION => 1;
> use constant MS_FULL_SCAN => 1 << 1;
> use constant MS_RESCAN => 1 << 2;
> use constant MS_INCLUDE_DELETED => 1 << 3;
> use constant MS_WATCH_CHANGES => 1 << 4;
> use constant MS_CLEARDB => 1 << 5;

This patch eliminates double-closing of log files:

/opt/logitechmediaserver/lib/Log/Log4perl/Logger.pm
66,81d65
<
< # Delete all appenders
< foreach my $appendername (keys %APPENDER_BY_NAME){
< if (exists $APPENDER_BY_NAME{$appendername} &&
< exists $APPENDER_BY_NAME{$appendername}->{appender}) {
< # Destroy the specific appender
< my $appref = $APPENDER_BY_NAME{$appendername}->{appender};
< $appref->DESTROY() if $appref->can("DESTROY");
< # Destroy L4p::Appender
< $APPENDER_BY_NAME{$appendername}->DESTROY();
< delete $APPENDER_BY_NAME{$appendername}->{appender};
< }
< delete $APPENDER_BY_NAME{$appendername};
< }
< %APPENDER_BY_NAME = ();
<

mervinb commented on 2017-10-03 01:44

stef.an, thanks for your continued work on this. FYI, I've successfully built the arch2 version on x64 using setone's libmediascan and buildme.sh patches. Thanks setone.

stef.an commented on 2017-09-30 14:22

I'm really sorry for my limited time to dig deeper into this at the moment.
I've now pushed the changes to skip Media::Scan as some other distros already do. This should provide a working version for everyone.

Coverart is not affected! This is handled by Audio::Scan and should work as always. Any test results would be awesome!
LMS won't scan for Videos and Images until we found a more satisfying solution, if you only use LMS to play your Music, you shouldn't notice any difference.

Thanks for you efforts setone! I'll check your patch asap.

Gregoire commented on 2017-09-30 08:11

If you are lucky enough your box may be supported by https://sourceforge.net/projects/scrawnyserver/ which is a lms server written in python, unfortunately my box isn't.

All comments