| Line 10: |
Line 10: |
| | It also has magic output text.</pre> | | It also has magic output text.</pre> |
| | * ''''' [https://macrodroidforum.com/wiki/index.php/Magic_text#Spotify Spotify magic text] ''''' | | * ''''' [https://macrodroidforum.com/wiki/index.php/Magic_text#Spotify 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>
| |