r/raspberry_pi • • 14d ago

Show-and-Tell I built a touchscreen Spotify player for my Raspberry Pi Zero 2 W / MagicMirror setup

Post image

I built a MagicMirror dashboard for a Pi Zero 2 W and a 7-inch touchscreen a while back. I wanted Spotify on the same screen, but running a desktop Spotify client on the Pi wasn't a good fit, so I ended up building Spotify Touch.

It's a library-first, touchscreen UI with playlists, Liked Songs, artwork, artist pages, albums, and playback controls. It runs in two intended modes: MagicMirror companion (tap a button to switch between the dashboard and Spotify) or Spotify-only (no MagicMirror required).

The architecture is split across two devices:

- Pi Zero 2 W: Wayland/labwc kiosk, touchscreen, `mpv`/PipeWire audio, optional Bluetooth.

- x86-64 Ubuntu host: rootless Podman + Spotify Headless, plus a small control API. The Pi reaches the control API through an SSH tunnel.

This keeps the heavier Spotify side off the Pi. The MagicMirror server also stays running when I switch interfaces.

Code: https://github.com/quasialex/SpotifyTouch

MagicMirror dashboard: https://github.com/quasialex/MagicMirrorPiO2W

Build log: https://packetwanderer.com/posts/spotify-touch/

Caveats: This is a beta/personal project. The original Ubuntu + Pi setup works on my hardware, but the fresh-install wizards and standalone mode still need clean-install testing. Global Spotify catalog search is not implemented. The Spotify-only Pi mode also still uses a separate Ubuntu backend; it isn't Pi-only.

I'd be interested in feedback from anyone running a Pi touchscreen or a similar home music dashboard, particularly around installation and whether a more complete search experience is worth the extra complexity.

*Unofficial project, not affiliated with Spotify.*

13 Upvotes

0 comments sorted by