2026-01-09 11:57:55 +11:00
2020-01-19 19:29:01 +01:00
2024-12-24 16:06:32 +01:00
2020-01-19 19:25:17 +01:00
2020-01-19 16:19:39 +01:00
2017-12-23 00:06:49 +01:00
2017-12-23 00:06:49 +01:00
2026-01-09 11:57:55 +11:00
2026-01-09 11:56:17 +11:00
Tox
2020-01-19 16:35:49 +01:00

Mopidy Music Server Configuration

This repository contains the configuration and setup for the local Mopidy instance. Mopidy acts as the primary music logic server (Radio, Local Files, Extensions) feeding into the Snapcast multi-room audio system.

🎵 System Architecture

  • Core: Mopidy (Python-based music server).
  • Output: Pipes audio to Snapserver via a Named Pipe (/tmp/snapfifo).
  • Frontend: Iris Web Interface (Port 6680).
  • Extensions: mopidy-radionet, mopidy-local, etc.

📂 Key Files

  • mopidy.conf: The master configuration file. Controls enabled plugins, file paths, and GStreamer audio pipelines.
  • requirements.txt (Optional): Python pip dependencies for installed plugins.

⚙️ Configuration Highlights

To ensure compatibility with Snapserver, the audio output is forced to 48kHz Stereo 16-bit and written to the pipe:

[audio]
output = audioresample ! audioconvert ! audio/x-raw,rate=48000,channels=2,format=S16LE ! wavenc ! filesink location=/tmp/snapfifo

🚀 Management Commands

Restart Service:

sudo systemctl restart mopidy

Check Status & Logs:

sudo systemctl status mopidy
sudo journalctl -u mopidy -f

Rescan Local Library:

sudo mopidy local scan

Config Location:

  • /etc/mopidy/mopidy.conf (System Service)
  • ~/.config/mopidy/mopidy.conf (User Mode)
Description
No description provided
Readme Apache-2.0 2.4 MiB
Languages
Python 100%