Tasker Announce artist on music track change when headset plugged

Discussion in 'Guides / Examples / Ideas Forum' started by Skylined, Dec 14, 2019.

  1. Skylined

    Skylined New Member

    Joined:
    Jul 7, 2015
    Messages:
    3
    Likes Received:
    0
    When you have your headphones and cannot look at your screen, but you would like to know what you're listening, especially when it's new music, it will announce the artist that is being played.

    The artist won't be announced if it's the same artist of the previous track, useful when listening to an album of a certain artist.


    Conditions

    State > Headset Plugged > Any
    Event > Music Track Changed > Type > Playing


    Task

    Variable Set
    Name: %ARTISTPLAYING
    To: %mt_artist ​

    If
    %ARTISTPLAYING Doesn't Match %ARTISTPLAYED​

    Variable Set
    Name: %ARTISTPLAYED
    To: %mt_artist​

    Say
    Text: %mt_artist
    Stream: Notification​
     
: tasker, music

Share This Page