Sync a now-playing label from Spotify
Advanced
Graph structure (text alternative)
Trigger: onSchedule
Nodes:
- On Schedule
(entry.onSchedule) - Spotify: Now Playing
(spotify.nowPlaying) - Text
(data.literal.string) - OBS: Set Text
(obs.setText) - Return
(flow.return)
Connections:
- On Schedule.out → Spotify: Now Playing.in
- Spotify: Now Playing.out → OBS: Set Text.in
- Text.value → OBS: Set Text.sourceName
- Spotify: Now Playing.trackTitle → OBS: Set Text.text
- OBS: Set Text.out → Return.in
Walkthrough
Keep an on-screen "now playing" label in sync with Spotify.
How it works
- On Schedule fires once a minute (
*/1 * * * *). - Spotify: Now Playing asynchronously queries the current track. The flow awaits Spotify's response before continuing.
- OBS: Set Text writes the track title into your Now Playing source.
A simple async query-then-act loop. The Now Playing node also returns the artist and progress if you want a richer label. See Spotify: Now Playing and OBS: Set Text.
