Difference between revisions of "Trigger: Spotify"

m
Line 8: Line 8:
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
This action supports the use of magic text, you can use extracting it from some previously defined variable, using the (...) button.
 
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] </pre> [[Magic_text2#Apllication_Launched.2FClosed|More information on the associated magic text.]]
+
It also has magic output text [spotify_track_id], [spotify_artist], [spotify_album], [spotify_track], [spotify_length_s], [spotify_is_playing] </pre>
 +
* ''''' [https://macrodroidforum.com/wiki/index.php/Magic_text#Spotify Spotify magic text] '''''
 
<br>
 
<br>
  

Revision as of 23:57, 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 Usage 1

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