moletteuk wrote: 
> I nearly had a nervous breakdown setting up the server.  I break out in
> a cold sweat when I think I might need to do something with it.  If
> somebody could tell me that running raspberry pi for the LMS was
> efficient and easy to do and had full instructions to set it up, then I
> would happily consider giving it a go.  It might be a good solution to
> have the LMS separate to the server.  My problem is that there are so
> many options, I have no idea what is right for me.  My server is an old
> HP N36l and the nas4free needs updating on it.  I can't get podcasts
> working on my LMS 7.3.3 and I gather that would be solved with an
> updated LMS, is that right?

Your HP N36L is getting rather old, so if you are thinking about a
replacement using a Rpi as a LMS server may or may not be the right
solution for you. But it is a great optiion, especially if the RPi is
also used as a player.  But you really want a Rpi3  for the added
performance boost. Loads of help here re: setting up using picoplayer. 
(My RPi 2 is stil running as player only with Triode's orig SOA software
and hifiberry Digi+ hat).  

But as you've managed to set up a new jail on your HP N36L , you might
be able to make use of this FreeBSD LMS port:
https://www.freshports.org/audio/logitechmediaserver/

It's a while since I did this myself, but these note should help: 

Install & Buld software in jail
=====================

pkg info
pkg install nasm bash rsync gmake curl binutils faad2 sox flac mac libgd
perl5 p5-IO-Socket-SSL-2.051
portsnap fetch extract
cd /usr/ports/audio/logitechmediaserver;make install clean
cd /

edit /root/.cshrc to set correct locale using vi

setenv LC_ALL 'en_GB.UTF-8'
setenv LANG 'en_GB.UTF-8'
setenv MM_CHARSET 'UTF-8'
setenv TZ Europe/London

Note: you'll have to check the basic commands to use in the vi editor.


test locale correctly set:

root@LMSjail:~ # locale
LANG=en_GB.UTF-8
LC_CTYPE="en_GB.UTF-8"
LC_COLLATE="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_MONETARY="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_ALL=en_GB.UTF-8

Setup LMS service
===============

sysrc logitechmediaserver_enable="YES"
service logitechmediaserver start


Testing
==================
root@LMSjail2:~ # service logitechmediaserver onestart
Starting logitechmediaserver.
Async::HTTP: Unable to load IO::Socket::SSL, will try connecting to SSL
servers in non-SSL mode
[18-02-01 07:58:27.2699] main::init (387) Starting Logitech Media Server
(v7.9.1, TRUNK, UNKNOWN) perl 5.024003 - amd64-freebsd-thread-multi
root@LMSjail2:~ # Async::HTTP: Unable to load IO::Socket::SSL, will try
connecting to SSL servers in non-SSL mode


Needed additional package


root@LMSjail2:~ # pkg install p5-IO-Socket-SSL-2.051
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
Updating audiodigitale repository catalogue...
audiodigitale repository is up to date.
All repositories are up to date.
The following 3 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
p5-IO-Socket-SSL: 2.051 [FreeBSD]
p5-Mozilla-CA: 20160104 [FreeBSD]
p5-Net-SSLeay: 1.82 [FreeBSD]

Number of packages to be installed: 3

The process will require 2 MiB more space.
550 KiB to be downloaded.

Proceed with this action? [y/N]: y
[LMSjail2] [1/3] Fetching p5-IO-Socket-SSL-2.051.txz: 100%  158 KiB
162.1kB/s    00:01    
[LMSjail2] [2/3] Fetching p5-Mozilla-CA-20160104.txz: 100%  147 KiB
150.0kB/s    00:01    
[LMSjail2] [3/3] Fetching p5-Net-SSLeay-1.82.txz: 100%  245 KiB
250.8kB/s    00:01    
Checking integrity... done (0 conflicting)
[LMSjail2] [1/3] Installing p5-Mozilla-CA-20160104...
[LMSjail2] [1/3] Extracting p5-Mozilla-CA-20160104: 100%
[LMSjail2] [2/3] Installing p5-Net-SSLeay-1.82...
[LMSjail2] [2/3] Extracting p5-Net-SSLeay-1.82: 100%
[LMSjail2] [3/3] Installing p5-IO-Socket-SSL-2.051...
[LMSjail2] Extracting p5-IO-Socket-SSL-2.051: 100%

Restart LMS:

root@LMSjail2:~ # service logitechmediaserver onestart
logitechmediaserver already running?  (pid=5808).
root@LMSjail2:~ # service logitechmediaserver stop
Stopping logitechmediaserver.
Waiting for PIDS: 5808.
root@LMSjail2:~ # service logitechmediaserver onestart
Starting logitechmediaserver.
[18-02-01 07:59:23.1656] main::init (387) Starting Logitech Media Server
(v7.9.1, TRUNK, UNKNOWN) perl 5.024003 - amd64-freebsd-thread-multi
root@LMSjail2:~ # sokcstat -v4
sokcstat: Command not found.
root@LMSjail2:~ # sockstat -v4
USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN
ADDRESS      
slimserv perl       5885  8  udp4   192.168.0.103:3483    *:*
slimserv perl       5885  9  tcp4   192.168.0.103:3483    *:*
slimserv perl       5885  23 tcp4   192.168.0.103:9090    *:*
slimserv perl       5885  25 udp4   *:*                   *:*
slimserv perl       5885  26 udp4   192.168.0.103:1900    *:*
slimserv perl       5885  27 udp4   192.168.0.103:1900    *:*
slimserv perl       5885  28 tcp4   192.168.0.103:23918   *:*
slimserv perl       5885  29 tcp4   192.168.0.103:9000    *:*
?        ?          ?     ?  tcp4   192.168.0.103:23920  
192.168.0.103:9000
?        ?          ?     ?  tcp4   192.168.0.103:9000   
192.168.0.103:23920
?        ?          ?     ?  tcp4   192.168.0.103:9000   
192.168.0.103:23921
?        ?          ?     ?  tcp4   192.168.0.103:9000   
192.168.0.103:23922
?        ?          ?     ?  tcp4   192.168.0.103:9000   
192.168.0.103:23923
?        ?          ?     ?  tcp4   192.168.0.103:9000   
192.168.0.103:23924
?        ?          ?     ?  tcp4   192.168.0.103:9000   
192.168.0.103:23925
root@LMSjail2:~ # exit

I would seriously consider updating your Nas4Free install.


------------------------------------------------------------------------
Krisbee's Profile: http://forums.slimdevices.com/member.php?userid=59080
View this thread: http://forums.slimdevices.com/showthread.php?t=109446

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to