commit bb96b37b11aaa2a3771e17281e925e8cc4c59206
parent 1997fa932eca2f4df91dbc60bcf7cbf37f592066
Author: Martin Ashby <martin@ashbysoft.com>
Date: Tue, 27 Dec 2022 16:10:25 +0000
Update to spotifyd regarding zeroconf-port
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/content/posts/2022-12-26-spotifyd.md b/content/posts/2022-12-26-spotifyd.md
@@ -13,7 +13,7 @@ Install guides:
- [spotifyd](https://spotifyd.github.io/spotifyd/installation/Raspberry-Pi.html), zero-w requires the arm-v6 variant, luckily they build releases for this architecture! Building on the pi-zero could take a while.
- [phat-dac](https://learn.pimoroni.com/article/raspberry-pi-phat-dac-install)
- [tailscale](https://tailscale.com/kb/1025/install-rpi/), not strictly necessary, but nice to have
-- and [ufw](https://help.ubuntu.com/community/UFW) and [unattended-upgrade](https://manpages.ubuntu.com/manpages/bionic/man8/unattended-upgrade.8.html), just for the additional security and sanity.
+- and [ufw](https://help.ubuntu.com/community/UFW) and [unattended-upgrade](https://manpages.ubuntu.com/manpages/bionic/man8/unattended-upgrade.8.html), just for the additional security and sanity. Note that you must set spotifyd to listen on a fixed port for disovery to work, and allow that port in the firewall! Specifically set `--zeroconf-port <number>` either via command line or in the configuration file, and allow connections with `sudo ufw allow <number>`
I tried a similar project a few years ago, using [MPD](https://www.musicpd.org/) and spotify plugin, but at the time it was too unreliable. Thanks to the folks who spent the time creating spotifyd!