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
sudo apt install mopidy mopidy-alsamixer python-pip
sudo pip install 'mopidy-musicbox-webclient'
sudo -e '/etc/ufw/applications.d/custom' && sudo ufw allow 'Mopidy'
[Mopidy] title=Mopidy description=Mopidy ports=6600,6680/tcp
sudo -e '/etc/mopidy/mopidy.conf'
[core] restore_state = true
[local] enabled = false
zeroconf
being blank is intentional in order to disable itsudo -e '/etc/mopidy/mopidy.conf'
[http] hostname = :: zeroconf = [mpd] hostname = :: zeroconf = [audio] mixer = alsamixer output = alsasink [alsamixer] control = PCM
sudo systemctl enable 'mopidy' --now
192.168.1.158:6600