Line 1: |
Line 1: |
− | ===<p><b>When is this trigger activated?</b></p>=== | + | ===<p><b>About</b></p>=== |
| | | |
| <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> |
− | Triggered when Spotify events occur.</pre> | + | Triggered when Spotify events occur. |
| + | |
| + | In order for the Spotify trigger to function you must enable the 'Device Broadcast Status' option within the Spotify app's settings page. |
| + | </pre> |
| | | |
| ===<p><b>Magic Text</b></p>=== | | ===<p><b>Magic Text</b></p>=== |
Line 8: |
Line 11: |
| <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.</pre>
| + | </pre> |
− | * ''''' [https://macrodroidforum.com/wiki/index.php/Magic_text#Spotify Spotify magic text] ''''' | + | * ''When this trigger is present, you can use more [...]'' ''[https://macrodroidforum.com/wiki/index.php/Magic_text#Spotify magic text]'' |
− | <br>
| |
| | | |
| ===<p><b>Supported configurations</b></p>=== | | ===<p><b>Supported configurations</b></p>=== |
| | | |
| <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> |
− | * Playback started - Starts when spotify starts playing.
| + | Playback started - Starts when spotify starts playing. |
− | * Playback stopped - Starts when Spotify pauses or stops playback.
| + | </pre> |
− | * Song changed - Starts when any playback changes.
| + | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> |
− | </pre><br> | + | Playback stopped - Starts when Spotify pauses or stops playback. |
− | | + | </pre> |
− | ===<p><b>Example</b></p>===
| |
− | | |
| <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> |
− | Speak the name of the next song only when the screen is off.
| + | Song changed - Starts when any playback changes. |
− | </pre><br>
| + | </pre> |
− | | |
− | <pre style="background-color: #AC2424; color: white; border-radius: 10px; padding: 10px;">
| |
− | Triggers
| |
− | | |
− | Spotify (Song changed)
| |
− | </pre><br>
| |
− | <pre style="background-color: #1665B0; color: white; border-radius: 10px; padding: 10px;">
| |
− | Actions
| |
− | | |
− | Speak text
| |
− | ‘{spotify_track} - {spotify_artist}’
| |
− | </pre><br> | |
− | <pre style="background-color: green; color: white; border-radius: 10px; padding: 10px;">
| |
− | Constraints
| |
− | | |
− | Screen off
| |
− | </pre><br>
| |