Back to Projects

2024-03

Now Playing Display

Real-time Spotify now-playing display optimized for a Raspberry Pi screen setup.

  • React
  • Node.js
  • Express.js
  • Spotify Web API
  • Raspberry Pi
Now Playing Display poster

Overview

Now Playing Display is a personal hardware-software build that turns a Raspberry Pi into a dedicated Spotify screen. It runs continuously, silently refreshing playback info and handling authentication in the background — no keyboard, no mouse, no manual intervention.

Problem

I wanted a low-friction way to glance at what’s currently playing without switching windows or picking up my phone. I had a Raspberry Pi with a small display sitting idle, and wiring it up to Spotify felt like the right kind of weekend project.

What I Built

A real-time playback interface that authenticates with Spotify’s Web API, polls for the currently playing track, and automatically refreshes OAuth tokens to stay persistent indefinitely. The UI is designed for the Pi’s display constraints — readable at a glance, minimal, always on.

Technical Decisions

The hardest part was making the OAuth flow fully hands-off after the initial setup. I built a reliable token refresh loop so the display never goes stale mid-session. I also kept the rendering lightweight to run smoothly on Pi hardware without performance issues.

Impact

A small but satisfying project — it connected API integration, auth reliability, and hardware-constrained UI thinking in one build. It also taught me how differently software behaves when it’s running headless and always-on rather than user-initiated.

Demo

Repository link above contains the source and implementation details.