How edubr029/esp32-spotify-player works
The product bridges Spotify playback on a Linux host to an ESP32 OLED display. Its main workflow polls playback fields through playerctl, formats them as semicolon-delimited serial records, and sends them to the device for display. The C source shows the host-side polling, formatting, serial setup, and keyboard/signal exits. The README documents the ESP32 display and protocol, but the Arduino source was not sampled, so the device-side parsing and rendering details are not inferred.
Main entry points: playerctl_to_serial.c Serial Bridge · esp32-spotify-player.ino Playback Display
Components 7
Linux Host Bridge
- Serial Bridge
playerctl_to_serial.c - playerctl Queries
playerctl_to_serial.c
ESP32 Display
- Playback Display
esp32-spotify-player.ino - OLED Screen
Other components
- Operator
- Spotify Playback
- Serial Port
Connections 6
- Operator → Serial Bridge: runs with options
README.md - Serial Bridge → playerctl Queries: queries playback
playerctl_to_serial.c - playerctl Queries → Spotify Playback: reads playback
playerctl_to_serial.c - Serial Bridge → Serial Port: writes records
playerctl_to_serial.c - Serial Port → Playback Display: delivers records
README.md - Playback Display → OLED Screen: renders playback
README.md