com.spotify.music.playbackstatechanged
Then in the enter task you have access to the extra in the form of a local variable %playing which will be either true/false.
If you save %playing to a global variable, you can then use it in another profile to monitor the state of Spotify playback.
getMusicPlaying (122)
A1: Java Function [ Return:manage Class Or Object:CONTEXT
Function:getSystemService
{Audio} (String) Param:audio Param: Param: Param: Param: Param: Param: ]
A2: Java Function [ Return:%playing Class Or Object:manage
Function:isMusicActive {boolean} () Param: Param: Param: Param: Param: Param:
Param: ]
A3: Flash [ Text:%playing Long:Off ]
> Thanks. Rookie question, I'm sure: how can I import that task description into a task?
Not possible. That is what the XML is for.
I suppose if Bluetooth is connected I could activate a timed profile that checks every 5 seconds and deactivates when Bluetooth disconnects. Is there a better option?
Hello! Can you help me with variables. I made an event profile and now i can recieve the intent. But i dont know how to make the local and then a global variable.. thanks. And sorry for my bad english. :)