sudo apt-get update
sudo apt-get install docker.io docker-compose
sudo usermod -a -G docker $USER
Put the content of this project into /usr/local/tidal-connect/
Choose your .env file from samples folder, for example if you have "Apple USB-C to 3.5mm" soundcard, copy samples/applejack.env into /usr/local/tidal-connect/ folder as .env file.
Use the build.sh to show errors in logs while rebuilding docker image.
The build refresh the image apt source.list (archive replaced by legacy) and install libasound2-plugins package for providing speex/samplerate resamplers when it's needed.
Copy the assets/systemd/system/tidal-connect.service into /etc/systemd/system/ folder.
Start with systemctl start tidal-connect, it will run docker-composer up -d --no-recreate command.
Set to autoload with systemctl enable tidal-connect
Triggerhappy media.conf for cheap remote control use with Raspberry Pi and MoOde.
Remove /etc/systemd/system/multi-user.target.wants/triggerhappy.service symlink.
Override with a copy from /lib/systemd/system/triggerhappy.service to /etc/systemd/system/triggerhappy.service and change --user nobody to --user pi or another user with sudo access on moOde.
Reload the changed scripts with systemctl daemon-reload.
Enable the service with systemctl enable triggerhappy and restart with systemctl restart triggerhappy.
Check if a shortcut doesn't work with systemctl status triggerhappy.
next-song.sh, pause-song-sh, previous-song.sh used by triggerhappy.
You can watch the speaker-controller-application screen with speaker-controller.sh command, dont use "q" or "Ctrl+c" to exit, only detach from screen with "Ctrl+b", "d" keys.
Read more about tmux commands here
More scripts with reading out current song title, etc. available here
Sample .env file: userconfig/applejack.asound.conf
asound.conf: userconfig/applejack.asound.conf
Original project page with more instructions and config files available here