The Lyrion Music Server (formerly Logitech Media Server) is a community software project that started as a commercial hardware enterprise. This commercial heritage provides for licenses to streamer apis like qobuz and tidal. It is different to other solutions in that it follows a strict client server Paradigma.
The UI and file processing is done on the server. The player client (squeezelite) is rather lightweight. This makes it ideal for SOCs like the Raspberry Pi Zero.
Having a central server makes it easy to swap clients in and out of the system. No tedious Configuration required when setting up a new player.
Best of all; among the many plugins there is a stable Qobuz Integration.
While the WebUI is a bit clunky -try setting interface to material skin- , there are great Apps to control LMS.
Squeezepad for IOS and Squeezer on Android are my recommendation.
Easiest way to install Lyrion Server on a raspberry pi is to use the dietpi image and select lms in dietpi-software.
manage with
service logitechmediaserver <start|stop|status>
Since the audio files reside on the NAS it makes sense for me to run the LMS also on the NAS. This is not supported by Synology by an App any longer. So its docker to the rescue. The difficulties of getting docker installed depend on the NAS model used. I was successful downloading a paket direct from the synology repository and doing a manual upload. YMMV.
The setup in the synology docker app did not quite work for me, so i set it up via ssh on the cmdline. Create a docker-compose.yml file in /volume1/docker/lms/:
version: '3'
services:
lms:
container_name: lms
network_mode: host
image: lmscommunity/logitechmediaserver:latest
volumes:
- /volume1/docker/lms/config:/config:rw
- /volume1/music/music_data:/music:ro
- /volume1/docker/lms/playlist:/playlist:rw
- /etc/localtime:/etc/localtime:ro
- /etc/TZ:/etc/timezone:ro
environment:
- PUID=1026
- PGID=100
restart: always
Note: /volume1/music/music_data needs to be adapted of course. Important is to set the User and Group ID correctly or local media can not be accessed.
Run
docker-compose up -d
and enjoy.
One has to understand that with LMS the server looks for client and the connection is controlled by the server. So next we go on the servers Webpage http://<NAS IP>:9000 and select our player.
Moode provides a player as does picoreplayer. Also setting up squeezelite on its own is easy.
LMS is under active development. Updating plugins can be done via the web interface.
Updating the app itself requires a docker image update like this
docker pull lmscommunity/lyrionmusicserver:stable
docker ps #read containerid
docker stop <containerid>
docker rm <containerid>
cd /volume1/docker/lms
docker-compose up -d
On the first run lms looks rather bland and confusing. This can be changed by a couple of configurations and plugins.
plugin material skin
install the plugin. you can access the skin at
<your-ip>:9000/material
Config to show folder view
Go to Settings - Interface. Find the Home Screen Items entry. Next to Music is a cog symbol. Folder view is selectable after a click on the cog.
Automatic switch on amplifier when sound is playing
Automatic switch on DAC when sound is playing
Squeezelite -v -> Shared Memory -> python -> QLC+ API