Lyrion Music Server (LMS)
Lyrion Music Server (LMS) is the server software that powers networked audio players from Logitech including Squeezebox, Radio, Boom, Receiver, Transporter and various third party hardware devices that use Squeezelite or Squeezeplay.
Lyrion Music Server (LMS) is Open Source Software written in Perl and it runs on pretty much any platform that Perl runs on, including Linux, Mac OSX, Solaris and Windows.
Lyrion Music Server (LMS) was previously known as Squeezebox Server, SqueezeCentre and SlimServer.
Build a simple LMS server
What was used
Hardware
- Raspberry Pi 4B - 8GB
- Official RPi 5.1V 3A PSU
- Toshiba USB 2TB Hard Disk Drive
- SanDisk Ultra 32GB SD card
Software
- piCorePlayer 9.0.0
- LMS
Network Diagram
Steps
Step 1 - Download pCP
- Download latest piCorePlayer—see Download piCorePlayer.
Step 2 - Create SD card
- Create an SD card with the piCorePlayer image—see Burn piCorePlayer onto a SD card.
- Eject the SD card.
Step 3 - Boot pCP
- Insert the SD card into the Raspberry Pi.
- Connect the Ethernet cable.
- Connect the power cables.
- Connect the (NTFS formatted) USB hard drive.
- Turn the power on.
Step 4 - Determine the IP address
- Determine the IP address—see Determine your piCorePlayer IP address.
Step 5 - Set static IP (optional)
- Set static IP on the DHCP sever (ie. http://192.168.1.51). The DHCP server is often on the router—see Your router manual.
Step 6 - Set player name
- Access pCP using IP in a browser (ie. http://192.168.1.51).
- Select [Squeezelite Settings] > “Change Squeezelite settings” > “Name of your player”.
- Type player name.
- Click [Save].
Step 7 - Set hostname
- Select [Tweaks] > “pCP System Tweaks” > “Host name”.
- Type host name.
- Click [Save].
- Click [OK] when requested to “Reboot piCorePlayer”.
Step 8 - Resize filesystem
- Select [Main Page].
- Click “Advanced operations” > [Resize FS].
- Select “Whole SD Card”.
- Click [Resize].
Info
piCorePlayer will now reboot a couple of times, but after a couple of minutes piCorePlayer should refresh to the [Main Page].
Install Lyrion Music Server (LMS)
1. Connect the Raspberry Pi and Initial Configuration
Insert the SD card into your Raspberry Pi, attach a wired ethernet connection, and plug in the power. Give your Raspberry Pi a minute or so to power up and connect to your local network.
Then look at the boot console. The IP address will be displayed at the end of the boot process.
Or launch Advanced IP Scanner to identify the IP address that has automatically been assigned by your network to the Raspberry Pi via DHCP.
Upgrade Lyrion Music Server (LMS)
Lyrion Music Server 8.2.0
. This is a release branch that does not get nightly updates. If you want to select stable bugfix
or development
branches, you need to follow these instructions.
Steps
Step 1
Access piCorePlayer via ssh—see Access piCorePlayer via ssh.
Add a USB hard drive and setup SAMBA
Step 1 - Adding an USB Hard Disk - Preparation
If the USB hard disk you are adding is formatted as FAT32 or NTFS you will need to install the “additional Filesystems pack” before you can load and configure the disk.
Note that this step is not required if your disk is formatted as EXT4. Windows users can pre-format such a disk using the free utility MiniTool Partition Manager, and this is in fact what I have done.
Add a network share (Synology NAS)
I’m assuming that you are a Linux noob, like me, and want to connect to a Synology NAS.
You have to configure access at both the NAS and the piCorePlayer LMS.
For the piCorePlayer LMS you need:
- A name for the mount point. This will only be used by the piCorePlayer LMS, so I used the name of my Synology NAS.
- The IP address for the NAS on your local network.
- The share name from your NAS. You will need to get this from Shared Folders on your NAS, in my case it is ‘/Volume 1/Music’
- Select NFS as the Share Type.
Warning
Don’t press the ‘Set NET Mount’ button yet!