Skip to content

Now playing sub-actions

Get now playing

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

Media control

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