User Tools

Site Tools


servers:linux:mopidy

Information

  • Mopidy 1)
  • Mopidy-ALSAMixer 2)
  • Mopidy-MusicBox-Webclient 3)

Prerequisites

Notes

  • As of 2018/05/31, doing this is significantly better on a Pi 2 than RuneAudio 4), Volumio 5), and Pi MusicBox 6)

Dependencies

Repository

wget -O '/tmp/mopidy.gpg' 'https://apt.mopidy.com/mopidy.gpg' && sudo apt-key add '/tmp/mopidy.gpg' && sudo wget -O '/etc/apt/sources.list.d/mopidy.list' 'https://apt.mopidy.com/stretch.list' && rm -f '/tmp/mopidy.gpg' && sync

System

sudo apt install mopidy mopidy-alsamixer python-pip

pip

sudo pip install 'mopidy-musicbox-webclient'

Uncomplicated Firewall

sudo -e '/etc/ufw/applications.d/custom' && sudo ufw allow 'Mopidy'
[Mopidy]
title=Mopidy
description=Mopidy
ports=6600,6680/tcp

Settings

Append

  • Add to specified section
sudo -e '/etc/mopidy/mopidy.conf'
[core]
restore_state = true
[local]
enabled = false

Add

  • zeroconf being blank is intentional in order to disable it
sudo -e '/etc/mopidy/mopidy.conf'
[http]
hostname = ::
zeroconf = 

[mpd]
hostname = ::
zeroconf = 

[audio]
mixer = alsamixer
output = alsasink

[alsamixer]
control = PCM

Services

sudo systemctl enable 'mopidy' --now

Addresses

MPD

192.168.1.158:6600

HTTP

Mopidy

Mopidy-MusicBox-Webclient

4)
outdated and super awkward to even try to update
5)
breaks with any kind of Network config or hiccup
6)
straight up broken; won't even boot
/usr/local/www/wiki/data/pages/servers/linux/mopidy.txt · Last modified: by 127.0.0.1