How do I access all intent extras of a specific broadcast
Posted: 01 Nov 2016 12:02
Hi everyone,
I'm pretty sure this is really trivial, but I can't seem to figure it out.
I'm trying to get the albumid for the currently playing spotify album. For that I set up a General Broadcast trigger for the action com.spotify.music.metadatachanged.
I know from a tasker profile that the albumid is available from the broadcast, I'm simply trying something like this for the intent extras field:
albumid=getString("albumid")
But I don't know the name of the value for albumid, so I want to get everything that is in the broadcast.
I'm attaching the working tasker profile as well, maybe that is helpful.
Hopefully someone can point my in the right direction on how to do that.
I'm pretty sure this is really trivial, but I can't seem to figure it out.
I'm trying to get the albumid for the currently playing spotify album. For that I set up a General Broadcast trigger for the action com.spotify.music.metadatachanged.
I know from a tasker profile that the albumid is available from the broadcast, I'm simply trying something like this for the intent extras field:
albumid=getString("albumid")
But I don't know the name of the value for albumid, so I want to get everything that is in the broadcast.
I'm attaching the working tasker profile as well, maybe that is helpful.
Hopefully someone can point my in the right direction on how to do that.