====== Information ====== * Mopidy ((https://www.mopidy.com)) * Mopidy-ALSAMixer ((https://github.com/mopidy/mopidy-alsamixer)) * Mopidy-MusicBox-Webclient ((https://github.com/pimusicbox/mopidy-musicbox-webclient)) ===== Prerequisites ===== * [[Distros:Raspbian]] ===== Notes ===== * As of 2018/05/31, doing this is significantly better on a Pi 2 than RuneAudio ((outdated and super awkward to even try to update)), Volumio ((breaks with any kind of Network config or hiccup)), and Pi MusicBox ((straight up broken; won't even boot)) ====== 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 ==== **** * http://192.168.1.158:6680 ==== Mopidy-MusicBox-Webclient ==== **** * http://192.168.1.158:6680/musicbox_webclient/index.html#home