Software for the Raspi that controls our speakers.
This started as a copy of https://github.com/NitramLegov/Musicbox
Raspberry pi
Raspbian
Mopidy (with the following plugins)
mopidy-spotify
mopidy-spotify-tunigo
mopidy-youtube
If you want to install the software as is (e.g. if you have the exact same system as me), just do:
sudo apt-get -qq update && sudo apt-get -qq install git && git clone https://github.com/comakingspace/MusicController.git && cd MusicController && sudo ./Install.sh
For the audio settings to work you have to reboot after the installation.
If you use a different soundcard: Adjust the following lines in Install_SystemSettings.sh to your needs:
if check_iqaudio_activated ; then
#do nothing
echo 'iqaudio already activated'
else
echo 'activating iqaudio'
enter_full_setting dtoverlay=iqaudio-dacplus $CONFIG
sudo cp asound.conf /etc/asound.conf
fi
echo 'iqaudio activated'
In this case, please also consider changing asound.conf to your needs accordingly.
If you want to use a different set of mopidy plugins: Install Mopidy manually (Following this [Tutorial] (https://docs.mopidy.com/en/latest/installation/raspberrypi/)) Install the plugins Check the settings done in defaultConfigMopidy.py and copy especially the output option in the audio section: output = 'alsasink device=default'