I ride a motorcycle daily and listen to music via wired earbuds. I would like for the music to be paused when I receive a new SMS, play the notification sound, read the senders name and message, and finally resume the music.
I set it up and it works great when tested with the small "Play" button at the bottom of the TASK. When I have my buds in and playing music, it works sometimes and other times it resumes music immediately after saying %SMSRN.
This is what I have set up so far:
Context 1: Headset Plugged, Any
Context 2: Received Text SMS, *,*
Media Control, Toggle Pause, Sim Media Button
Sys Volume, Level 15
Wait, 4seconds (waiting for text notification to finish (BRRAAAAAAINS))
Say, Text From %SMSRN,Stream w/Media
Wait, 600milsec (pause between Name and Body)
Say, %SMSRB, Stream w/Media
Sys Volume, Level 12
Media Control, Toggle Pause, Sim Media button
I'm using roughly the same setup with both a headset and BT (couldn't figure out how to do it in one profile so I made 2). Reads perfectly but if I'm not listening to music when I have my headset/BT on it turns it on when I get an SMS. I'm sure there's an easy way to fix it but I haven't been able to figure it out yet.
Any suggestions anyone?
TL/DR: How do I get tasker to decide if music is playing before deciding to toggle pause.
I want the exact same thing as RogueOne42.
But I can't figure it out.
How can I set the variable when the music starts playing when I control it by car?
I can't find an option to set a var as soon as media is playing.
If I had that option I would just make 2 profiles:
1. Connected to Bluetooth + receive text = read sms
2. Connected to Bluetooth + receive text + music is playing = pause music, read sms, unpause music.
Edit: Found a solution
Make 2 profiles.
Profile 1 - "SMS + Bluetooth"
* Bluetooth connected
* Received Text Any
* Variable Value %MTRACK, Isn't Set
I bought tasker for this specific action, and I am having a hell of a time understanding what to do... I have a Motorola Droid RAZR, and with smart actions alone I can get it to announce the sender of a received text while my headphones are plugged in, but I would like the text read to me. I am very very new to tasker and don't fully understand what I need to do to get there. Anyone want to lend a hand getting me there I would really appreciate it!