Spotigo is a lightweight tool that logs the currently playing Spotify track using D-Bus and writes the information into text files. These files can be used in OBS to display the song title and cover art in real-time.
- A Linux system with systemd and D-Bus
- Go installed (
go
command available in PATH)
make install
This will:
- Compile the Spotigo binary.
- Install it into
~/.local/bin/
. - Install the systemd user service.
- Reload the systemd user instance.
To enable and run the service, run:
systemctl --user enable --now spotigo.service
To uninstall, run:
make uninstall
- Add a Text (GDI+) source in OBS.
- Set the file path to:
/run/user/<USERID>/spotigo/spotify_now_playing.txt
- (Optional) The cover art URL will be available in a separate file
- Integration into OBS is currently TBD. Feel free to submit a PR.
- This file contains the URL:
/run/user/<USERID>/spotigo/spotify_cover_url.txt
Spotigo will keep these files updated with the current song title and cover art.
GPLv3