Difference between revisions of "Trigger: Spotify"

Line 35: Line 35:
  
 
Speak text
 
Speak text
‘[spotify_track] - [spotify_artist]
+
‘[
 +
{spotify_track} - {spotify_artist}
 
</pre><br>
 
</pre><br>
 
<pre style="background-color: green; color: white; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: green; color: white; border-radius: 10px; padding: 10px;">

Revision as of 23:59, 4 January 2024

When is this trigger activated?

Triggered when Spotify events occur.

Magic Text

This action supports the use of magic text, you can use extracting it from some previously defined variable, using the (...) button.
It also has magic output text [spotify_track_id], [spotify_artist], [spotify_album], [spotify_track], [spotify_length_s], [spotify_is_playing] 


Supported configurations

* Playback started - Starts when spotify starts playing.
* Playback stopped - Starts when Spotify pauses or stops playback.
* Song changed - Starts when any playback changes.


Example

Speak the name of the next song only when the screen is off.


Triggers

Spotify (Song changed)


Actions

Speak text
‘[
{spotify_track} - {spotify_artist}’


Constraints

Screen off