A modern-looking Now Playing overlay for OBS, with Last.fm and Spotify support
This project is based on OBS-NowPlaying by sorachan. This is very much a work in progress and I would like to make it more user-friendly in the near future by offering an online version.
Make sure to check out vzsg's fork, PyNowCooing, which uses Windows' SystemMediaTransportControl and supports most (if not all) modern media players, including Spotify, Foobar2000, Apple Music and YouTube.
- Last.fm support
- Overlay automatically resizes based on title name/artist name length
With a medium title:
Long title:
-
When the album cover is unavailable, it is hidden entirely.
-
You can define a set of 4 colors which will be used to generate random backgrounds. These backgrounds will change on every song!
The instructions below are only there if you already know what you're doing, otherwise I would advise waiting for the next update!
- Clone or download the repo
- Fill in your credentials:
- Open
main.jsand enter your Last.fm or Spotify details as shown in the comments.
- Open
- Run locally
- Serve with any static file server (e.g.
npx http-server .) - Or open
main.htmldirectly.
- Serve with any static file server (e.g.
- Set up as a browser source in OBS (change the URL, other default settings will do)
- Switch between Spotify and Last.fm by setting
musicSourceinmain.js.
- Initial release, working locally with Lastfm