Recognize and store last playing media app

Search This thread

Shadow128

Senior Member
Nov 8, 2010
260
21
Hi there,

In my Android car head unit I'm using Tasker for automatic starting poweramp after booting, which works quite good but only for poweramp.

Now I'm using also sometimes other media apps like DAB-Z and I'm searching a solution for identifiying the last playing media app.
If the media app is paused the variable should be kept to the last playing app so at least the stored variable should only change, if another media app is playing.
In my case it's "only" DAB-Z and Poweramp.

Anyone knows a solution for this?

Thanks :)
 

ktmom

Retired Forum Moderator
Apr 22, 2015
5,176
3,387
Deep Space Station K7
Create a profile with the app as a context then set a variable in the task.

This is a very basic configuration. If you're still unsure, it will benefit you to review some tutorials targeted to beginners. There are many videos and written tutorials for tasker, both here on xda and on the internet in general.
 
Last edited: