Spotify for Kodi

Spotify on the TV

Spotify on the TV: browse and play your music in Kodi with a game controller.

Why I built it

The Spotify options for Kodi kept breaking, so I built my own on top of the official app, and then gave it a visualizer.

Now Playing: the album cover, the song and album, a progress bar and the playback, shuffle, repeat, like and visualizer buttons, over a backdrop in the album's colours.
Type
Kodi add-on, Python
Status
In daily use
Code
Private
Revision
2026.10
The visualizer in motion: the cover and its record, then the lyrics in time with the music over the album backdrop, and back to the record.

What it does

You can browse your playlists, albums, artists and Liked Songs, search, and see what’s playing with synced lyrics, all from the couch. A “Who’s listening?” picker switches between accounts. Now Playing opens a full-screen visualizer: the album art as a backdrop, the lyrics in time with the music and the song’s waveform.

How it’s built

Functional block diagram

Inputs

  • Game controller or phone remote
  • Spotify Web API (OAuth, PKCE)
  • The Spotify app over MPRIS (D-Bus)
  • LRCLIB lyrics

Core

  • Kodi add-on (Python): accounts, browse, Now Playing
  • Synced lyrics

Outputs

  • TV interface
  • Full-screen visualizer (C++/OpenGL) with lyrics
Functional block diagram.

Specifications

Spotify for Kodi at a glance
PlatformKodi add-on on a Linux TV PC
ControlGame controller or phone
ServicesSpotify Web API, the Spotify app over MPRIS (D-Bus), LRCLIB lyrics
StatusIn daily use
Built2026
StackPython, Kodi add-on API, Spotify Web API, OAuth 2 (PKCE), D-Bus/MPRIS
CodePrivate

Revision history

Revision history
RevDateChange
C2026-10-28Status and buttons straight from the app over MPRIS, so it uses no API quota.
B2026-10-26Visualizer stage with synced lyrics.
A2026-10-25Rebuilt on the official Spotify app, one hidden copy per account, driven over the Web API.