plugin for Logitech Media Server (formerly Squeezebox Server)

Status
Not open for further replies.

babaroga

Explorer
Joined
Jul 22, 2012
Messages
50
Krasny,

This works only for "normal users". I have not been able to modify "root" with charset other than default "C"...
 

SwissChris

Cadet
Joined
Feb 13, 2013
Messages
1
Anyone already tested this plugin on the latest version of FreeNAS 8.3.0? I am currently planning to buy a server to run FreeNAS on it and it would be great to be able to feed my Transporter with LMS from the new NAS.
 

djoole

Contributor
Joined
Oct 3, 2011
Messages
158
I'm still on 8.2.0-RC1... i hesitate to upgrade because i have a working but highly customized jail, and i'm afraid i have to do everything again if i upgrade!
 

djoole

Contributor
Joined
Oct 3, 2011
Messages
158
Oh, and i noticed a few days ago that my Receiver couldn't play any 24/192 FLAC.
Problem was sox isn't provided in the Logitech LMS package.
You have to install it in the jail yourself :
Code:
cd /usr/ports/audio/sox/ && make install clean

No need to restart anything :)
 

Z300M

Guru
Joined
Sep 9, 2011
Messages
882
Anyone already tested this plugin on the latest version of FreeNAS 8.3.0? I am currently planning to buy a server to run FreeNAS on it and it would be great to be able to feed my Transporter with LMS from the new NAS.

Working OK for me on 8.3.0
 

hugeboard

Dabbler
Joined
May 21, 2012
Messages
20
Hi There,

I am having issues with LMS in an 8.3 based Jail.
Not 100% sure what my root issue is because my Perl installation in the Jail is a bit clunky.

Code:
The following modules failed to load: Time::HiRes DBI XML::Parser::Expat Digest::SHA1 Sub::Name


I tried to recompile the CPAN but I face other gcc version issues.
Any idea what is going on ?

Thanks
H
 

djoole

Contributor
Joined
Oct 3, 2011
Messages
158
Probably a problem with your PERL config.
You should try to reinstall it in 5.14
 

eatkinola

Cadet
Joined
Mar 3, 2013
Messages
5
Just wanted to thank you for the install script. Installed on a clean jail in FreeNAS 8.3.1-RC, simply by following the original instructions. I did not need to un/reinstall or upgrade any packages. Thanks for getting my music server up and running again!
 

babaroga

Explorer
Joined
Jul 22, 2012
Messages
50
Installed on 8.3.0-p1 originally, now upgraded to 8.3.1 release and no issues.

Although, I have separate FS that I mount into jails /usr/local/lms that I unmount before upgrade, as per all things running in jail (MySQL, transmission).

My LMS is "Logitech Media Server Version: 7.8.0 - 1353679004 @ Mon Dec 10 04:44:19 MST 2012" and I have not upgraded it ever since last December.
 

anika200

Contributor
Joined
Mar 18, 2013
Messages
113
Thank You djoole :D This works flawlessly for me, I love it. I am on 8.3.1 and it installed/ran without any issues. I have a mix of flac,mp3,m4a and all seem to be working.

Thanks again.
 

Agnoth

Cadet
Joined
Apr 19, 2013
Messages
2
Thanks djoole, installed this yesterday on 8.3.1 64-bit running on AMD A4-5300 with 8GB. I was able to point my Squeezebox Boom to the server and all seems to be well. Nice work!
 

unholyeyebrows

Explorer
Joined
Apr 19, 2012
Messages
55
Hi All

Has anyone had any luck in getting djoole's LMS plugin working on FreeNAS 9.1? I've upgraded my NAS to 9.1, created a plugins jail, and run the LMS installation procedure which worked flawlessly on FreeNAS 8.3.1. However, on 9.1 the installation appears to work, but LMS does not run. Here are the error logs I see when I try to start it manually:

root@lms:/lms-freenas-amd64-7.8.0-1342011222 # sh
/usr/local/etc/rc.d/lms onestart
mkdir: /var/run/lms: File exists
Starting lms.
The following CPAN modules were found but cannot work with Logitech
Media Server:
Audio::Scan:
Can't load '/usr/local/lms/CPAN/arch/5.14/amd64-freebsd/auto/Audio/Scan/Scan.so'
for module Audio::Scan: Shared object "libz.so.5" not found, required
by "Scan.so" at /usr/local/lib/perl5/5.14/mach/DynaLoader.pm line 190.
at (eval 45) line 2
Compilation failed in require at (eval 45) line 2.
BEGIN failed--compilation aborted at (eval 45) line 2.

Image::Scale:
Can't load '/usr/local/lms/CPAN/arch/5.14/amd64-freebsd/auto/Image/Scale/Scale.so'
for module Image::Scale: Shared object "libz.so.5" not found, required
by "Scale.so" at /usr/local/lib/perl5/5.14/mach/DynaLoader.pm line
190.
at (eval 101) line 2
Compilation failed in require at (eval 101) line 2.
BEGIN failed--compilation aborted at (eval 101) line 2.


To fix this problem you have several options:
1. Install the latest version of the module(s) using CPAN: sudo cpan
Some::Module
2. Update the module's package using apt-get, yum, etc.
3. Run the .tar.gz version of Logitech Media Server which includes all
required CPAN modules.

Any ideas on this would be much appreciated.
Thanks.
 

unholyeyebrows

Explorer
Joined
Apr 19, 2012
Messages
55
How did you install LMS?

Hi - I just logged-in to the Jail by first SSH'ing into the FreeNAS, then using jexec to connect to the jail. Then I uncompressed djoole's LMS package, and ran ./installme.sh. It appears to install fine on a plugins jail, but the server fails to run due to the CPAN issues.

Thanks.
 

William Grzybowski

Wizard
iXsystems
Joined
May 27, 2011
Messages
1,754
Sure it won't work then, It was compiled for FreeBSD 8.X, the jail is FreeBSD 9.1.

It needs to be recompiled.
 

unholyeyebrows

Explorer
Joined
Apr 19, 2012
Messages
55
Thanks William - that makes sense. I've messaged djoole just in case he may be willing / able to re-compile his package for 9.1.
 
D

dlavigne

Guest
Just a note about CPAN. In FreeBSD it is preferable to instead install the equivalent package (which will start with p5-) so that you can keep track of what is installed, especially if you plan to keep installed packages up-to-date.

In this case, the missing packages are p5-Audio-Scan and p5-Image-Scale.
 

djoole

Contributor
Joined
Oct 3, 2011
Messages
158
Hey there,
I don't remember why, but the only option that i found working at the time, was compile myself CPAN libraries.
Packages didn't work.

And to answer your request, unholyeyebrows, I'm sorry but i'm still under 8.something (i need to upgrade to the latest stable ^^ ), and i'm not planning on upgrading to 9.x on my NAS (too many stuff i don't want to loose) unless it's rock stable.
Maybe you can compile the binarie yourself and post them in the topic?
 

unholyeyebrows

Explorer
Joined
Apr 19, 2012
Messages
55
Many thanks guys. I'm considering migrating back to my old Synology Diskstation for a simpler life, but will explore options on the 9.1 FreeNAS just in case I can contribute towards a solution here.
 
Status
Not open for further replies.
Top