User Tools

Site Tools


servers:mopidy

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
servers:mopidy [2017/06/19 17:51] Sean Rhoneservers:mopidy [2018/05/31 01:19] (current) – [Add] Sean Rhone
Line 1: Line 1:
 +====== 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'
 +
 +<code>
 +[core]
 +restore_state = true</code>
 +
 +<code>
 +[local]
 +enabled = false</code>
 +
 +===== Add =====
 +
 +  * ''zeroconf'' being blank is intentional in order to disable it
 +
 +  sudo -e '/etc/mopidy/mopidy.conf'
 +
 +<code>
 +[http]
 +hostname = ::
 +zeroconf = 
 +
 +[mpd]
 +hostname = ::
 +zeroconf = 
 +
 +[audio]
 +mixer = alsamixer
 +output = alsasink
 +
 +[alsamixer]
 +control = PCM</code>
 +
 +====== 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