A lightweight, modern web widget to display your live Spotify track on your OBS Studio stream overlays. Powered by the Lanyard API.
- 🎨 Glassmorphism Aesthetic: Modern translucent design with background album blur & smooth gradients.
- ⚡ Real-Time WebSocket Updates: Live playback progress and track switching with zero delay.
- 🔄 Auto-Reconnection: Automatically reconnects if WebSocket drops during stream.
- ✨ Smooth Entrance/Exit Animations: Fades in when playing music and smoothly fades out when paused.
- 🔤 Smart Text Marquee: Automatically scrolls long track titles and artist names cleanly.
- ⚙️ Customization Options:
hideProgress=true: Hide progress bar overlay.accent=HEX: Custom progress bar accent color.
- 🖼️ Image Preloading: Eliminates image pop/flickering between track changes.
- Connect your Spotify account in Discord (Settings > Connections).
- Enable "Display current activity as a status message" in Discord (Settings > Activity Privacy).
- Join the Lanyard Discord Server so Lanyard can track your Spotify presence.
- Copy your generated URL from the widget generator page.
- In OBS Studio, add a Browser Source.
- Set Width:
512and Height:196. - Paste the Widget URL into the URL field.
| Parameter | Type | Description | Example |
|---|---|---|---|
id |
string |
Required. Your Discord User ID | ?id=296386708307222528 |
hideProgress |
boolean |
Set to true to hide the progress bar fill |
&hideProgress=true |
accent |
string |
Custom progress bar color (URL encoded CSS color) | &accent=%23ff0055 |