1

Profile doesn't work after restart

I have a profile that doesn't work after a restart. The only way to get it working again is to disable the profile and then re-enable it. Since I'm using Tasker on my car's Android stereo, I essentially have to do this every time I start my car up again.

What the profile does is that when I have music playing, a flash notification pops up that identifies the title, artist, and album art of the track.

I have given Tasker all possible permissions and it doesn't help. There is no battery optimizations on my device for Tasker.

3 replies

Can you please export your profile's description (not xml) so I can take a look? Long-click the profile in Tasker->export description Thanks in advance

NR

Thanks for the reply. I've pasted the description below:

Profile: Song ID
Variables: [ %aaa:not set ]
Event: Music Track Changed [ Output Variables:* Track:* Album:* Artist:* Package:* Type:Playing or Not Playing ]

Enter Task: Current Song

A1: Variable Set [
Name: %mt_track
To: %mt_track(1:20)
Structure Output (JSON, etc): On ]

A2: Variable Set [
Name: %mt_artist
To: %mt_artist(1:20)
Structure Output (JSON, etc): On ]

A3: App Info [ ]

A4: Tasker Function [
Function: GetMusicActive() ]

A5: Flash [
Text: %mt_track
%mt_artist
Tasker Layout: On
Icon: %mt_art
Continue Task Immediately: On
Dismiss On Click: On ]
If [ %is_music_active ~ true & %app_package ~ com.waze | %app_package ~ com.google.android.apps.maps ]

A6: Notify [
Title: Music
Text: %mt_track
%mt_artist
Icon: %mt_art
Number: 0
Priority: 4
LED Colour: Red
LED Rate: 0
Category: Tasker Music Popup ]
If [ %is_music_active ~ true ]

NR

Thanks for the reply. I've pasted the description below:

Profile: Song ID
Variables: [ %aaa:not set ]
Event: Music Track Changed [ Output Variables:* Track:* Album:* Artist:* Package:* Type:Playing or Not Playing ]

Enter Task: Current Song

A1: Variable Set [
Name: %mt_track
To: %mt_track(1:20)
Structure Output (JSON, etc): On ]

A2: Variable Set [
Name: %mt_artist
To: %mt_artist(1:20)
Structure Output (JSON, etc): On ]

A3: App Info [ ]

A4: Tasker Function [
Function: GetMusicActive() ]

A5: Flash [
Text: %mt_track
%mt_artist
Tasker Layout: On
Icon: %mt_art
Continue Task Immediately: On
Dismiss On Click: On ]
If [ %is_music_active ~ true & %app_package ~ com.waze | %app_package ~ com.google.android.apps.maps ]

A6: Notify [
Title: Music
Text: %mt_track
%mt_artist
Icon: %mt_art
Number: 0
Priority: 4
LED Colour: Red
LED Rate: 0
Category: Tasker Music Popup ]
If [ %is_music_active ~ true ]

Thank you. Can you clarify why you have %aaa:not set in the condition? Thanks!

NR

hmm it must have been put there in error. I removed it and it doesn't fix the issue