Quantcast
Channel: xda-developers - Android Q&A, Help & Troubleshooting
Viewing all articles
Browse latest Browse all 18891

[Q] Get currently playing artist from Play Music?

$
0
0
Is there a way to get the name of the artist that is playing in Play Music to Tasker?

I know that the GoneMad Music Player supports %MARTIST out to Tasker, but it cannot stream from my Google Music account.

Perhaps this isn't even the best way to accomplish what I'm trying; what I want is to display the artist's name and the track name when music is playing, and to hide all text when it is not. I want to do this on the desktop, as well as on the lock screen.

What I've been able to do so far is to have Tasker send the variable %MTRACK to a variable named %CURRENT_TRACK because when the music stops or is paused, %MTRACK does not update. Tasker checks to make sure that music is still playing, and if not it sets %CURRENT_TRACK to empty. Minimalistic Text displays this, and is updated by Tasker every time %CURRENT_TRACK is changed. I would like to replicate this behaviour with the artist name as well.

Ideally the music controls would also disappear, but that I'm sure I can accomplish if I bang around in UCCW for long enough.

Phantom Music Control works on the lockscreen, but the widget doesn't disappear when running on the desktop for me.

Viewing all articles
Browse latest Browse all 18891

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>