Lyrion Music Server (LMS)
Lyrion Music Server (formerly Logitech Media Server) is an open-source multi-room audio system. Combined with Squeezelite players, you can play music synchronously in multiple rooms.
Installation
Add the following template to your docker-compose.yml and then run ei23 dc.
Template
lyrionmusicserver:
container_name: lyrionmusicserver
hostname: ei23
image: lmscommunity/lyrionmusicserver:stable
volumes:
- ./volumes/lyrionmusicserver/config:/config:rw
- /home/pi/media/Playlist:/playlist:rw
- /home/pi/media/Musik:/music:ro
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
ports:
- 9000:9000/tcp # Web Interface
- 9090:9090/tcp # CLI Interface
- 3483:3483/tcp # SlimProto
- 3483:3483/udp # SlimProto
restart: always
Adjust Music Path
Adjust the volume mounts for your music and playlists to match your directories.
Features
- Multi-Room Audio - Synchronized playback in multiple rooms
- Internet Radio - Thousands of radio stations
- Spotify Integration - Use Spotify Premium
- Tidal/Qobuz - HiFi Streaming
- Podcasts - Automatic downloads
- Playlists - Local and online playlists
- Home Assistant - Full integration
First Start
- After startup, you can access LMS at
http://[IP]:9000 - Select your music library
- Wait for the music scan to complete
- Set up your players
Squeezelite Player
Squeezelite is a software player for LMS:
Install on the Server
As Docker Container
squeezelite:
image: giof71/squeezelite
container_name: squeezelite
restart: unless-stopped
network_mode: host
environment:
- SERVER_NAME=192.168.178.20
- SOUND_DEVICE=default
- PLAYER_NAME=Kitchen
Hardware Players
- Raspberry Pi + HiFiBerry - Excellent quality
- Squeezebox - Original hardware (used)
- Raspberry Pi + IQaudio - Good and affordable
Home Assistant Integration
LMS can be perfectly integrated into Home Assistant:
Automations
automation:
- alias: "Music on Wake Up"
trigger:
platform: time
at: "07:00:00"
action:
service: media_player.play_media
target:
entity_id: media_player.kitchen
data:
media_content_id: "http://radio-url"
media_content_type: music
Set Up Spotify
- Install the Spotify Protocol Handler plugin in LMS
- Configure your Spotify credentials
- Spotify content will appear in the LMS interface
Plugins
LMS supports plugins for extended functionality:
| Plugin | Description |
|---|---|
| Spotty | Spotify integration |
| Material Skin | Modern web interface |
| Radio Paradise | HiFi Radio |
| CD-Sync | CD Ripping |
| Don't Stop The Music | Random playlists |
Install Plugins
- Go to Settings → Plugins
- Search for the desired plugin
- Click Install
- Restart LMS
Multi-Room Setup
Synchronized Zones
- Set up multiple Squeezelite players
- In the web interface: select Synchronize Players
- All synchronized players play identically
Example Setup
| Room | Hardware | Cost |
|---|---|---|
| Living Room | RPi 4 + HiFiBerry DAC | ~€80 |
| Kitchen | Squeezelite Docker | €0 |
| Bedroom | RPi Zero W + IQaudio | ~€40 |
| Bathroom | Bluetooth Speaker + Squeezelite | ~€30 |
Notes
- Configuration is located in
./volumes/lyrionmusicserver/config/ - Port 9000 is the web interface
- Port 9090 is for CLI/scripting
- Ports 3483 (TCP/UDP) for player communication
- LMS is very resource-efficient