Skip to content

Instantly share code, notes, and snippets.

Last active August 16, 2021 11:17
What would you like to do?
Install Mopidy and Iris
# Add Mopidy repo and install
wget -q -O - | sudo apt-key add -
sudo wget -q -O /etc/apt/sources.list.d/mopidy.list
sudo apt update
sudo apt install mopidy
sudo adduser mopidy video
# Configure (be careful with this line!)
printf "[http]\nhostname =" | sudo tee -a /etc/mopidy/mopidy.conf
# Install user interface
sudo apt install python3-pip
sudo pip3 install Mopidy-Iris
sudo pip3 install Mopidy-Local
sudo sh -c 'echo "mopidy ALL=NOPASSWD: /usr/local/lib/python3.7/dist-packages/mopidy_iris/" >> /etc/sudoers'
# Enable and start service
sudo systemctl enable mopidy
sudo systemctl start mopidy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment