Repository navigation
Reference Sub actions Now Playing
Kristopher Barrantes edited this page Nov 5, 2026
·
2 revisions
Also on the Cuebot Docs site.
Looks at what song plays right now and saves it in variables. Use it for a !song command: add this step, then send "Now playing: %nowPlaying.title% by %nowPlaying.artist%".
Variables it adds
| Variable | What it holds |
|---|---|
%nowPlaying.title% |
The song's name (empty when nothing plays) |
%nowPlaying.artist% |
Who sings or plays it |
%nowPlaying.album% |
The album (empty when the player does not say) |
%nowPlaying.player% |
The player it plays in, like Spotify or VLC |
%nowPlaying.durationText% |
How long the song is, written like 3:45 |
%nowPlaying.link% |
A web link to the song (Spotify songs only) |
%nowPlaying.playing% |
True while it plays, False when it is paused |
%nowPlaying.found% |
True when a song was found, False when nothing plays (check it with an If step) |
Type id: nowplaying.get
Presses a media button on your music player: play or pause, next song or previous song. Works with players on this computer and with Spotify.
| Setting | What to put in |
|---|---|
| Button | Which button to press. "Play / pause" pauses when music plays and plays when it is paused. Options: Play / pause, Play, Pause, Next song, Previous song. Starts as: Play / pause. |
| Player | Which player to press it on: part of its name, like vlc or spotify. Leave it empty for the one that plays now. |
Variables it adds
| Variable | What it holds |
|---|---|
%nowPlaying.player% |
The player that got the button press |
Type id: nowplaying.mediaControl
Cuebot by Tech Daddy Digital · MIT license · Privacy
Cuebot Docs (the same pages, nicer to read)
- Home
- Start here
-
Guides
- Chat commands
- The mod portal
- Overlays and alerts
- Writing your own overlay widgets
- Text-to-speech
- Music and now playing
- Points, store and giveaways
- Subathons and goals
- Stream apps and devices
- VTuber apps
- Stream Deck
- The phone app
- Donations and integrations
- Discord bot
- The setup assistant and AI tools
- The assistant on your own computer
- Moving from Streamer.bot
- Cuebot's servers
- Writing code (C# and Python)
- Python in detail
- Using your own code editor
- Controlling Cuebot from other programs
- Backups and your data
- Linux
- Command-line options
- Troubleshooting
- What's experimental
- Reference
