aboutsummaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
authorMartin Ashby <martin@ashbysoft.com>2022-12-26 23:25:37 +0000
committerMartin Ashby <martin@ashbysoft.com>2022-12-26 23:25:37 +0000
commit1997fa932eca2f4df91dbc60bcf7cbf37f592066 (patch)
treed7590f5366133c3b80f7deb6a4b4571ffff805f1 /content
parent4388bf8c8107052f153e149b2ae25328f7e44f9c (diff)
downloadmfashby.net-1997fa932eca2f4df91dbc60bcf7cbf37f592066.tar.gz
mfashby.net-1997fa932eca2f4df91dbc60bcf7cbf37f592066.tar.bz2
mfashby.net-1997fa932eca2f4df91dbc60bcf7cbf37f592066.tar.xz
mfashby.net-1997fa932eca2f4df91dbc60bcf7cbf37f592066.zip
Spotifyd post
Diffstat (limited to 'content')
-rw-r--r--content/posts/2022-12-26-spotifyd.md21
1 files changed, 21 insertions, 0 deletions
diff --git a/content/posts/2022-12-26-spotifyd.md b/content/posts/2022-12-26-spotifyd.md
new file mode 100644
index 0000000..b39e15a
--- /dev/null
+++ b/content/posts/2022-12-26-spotifyd.md
@@ -0,0 +1,21 @@
+---
+title: "Spotifyd"
+date: 2022-12-26T23:08:03Z
+draft: false
+---
+
+I recently discovered [spotifyd](https://spotifyd.github.io/), an open source alternative to the deprecated libspotify. I happened to also have a [pi-zero W](https://www.raspberrypi.com/news/raspberry-pi-zero-w-joins-family/) from a while back, and a [pHAT DAC](https://learn.pimoroni.com/article/raspberry-pi-phat-dac-install) amplifier.
+
+It was a relatively trivial job to set up the pi zero w headless, get audio output to the pHAT DAC, install spotifyd and use it as a spotify connect device connected to my old [Cambridge Audio A1](http://www.hi-fi-insight.com/cambridge-audio-a1-integrated-amplifier.html).
+
+Install guides:
+- [raspberry pi headless](https://www.raspberrypi.com/documentation/configuration/wireless/headless.md), since I last used this, userconf.txt was added which allows setting up a proper user with a unique password! Bonus security points.
+- [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.
+
+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!
+
+I should get a case for the pi some time, at the moment it's just freely sitting on the shelf next to the speakers.
+