• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Automatically play Rhapsody

Methos1979

Android Enthusiast
Jun 27, 2012
620
129
Third rock from the Sun
I'm programming a profile in Tasker that when it detects the phone connecting to my bluetooth speaker it automatically launches the Rhapsody app. I then have it wait a couple seconds and then use the media 'simulate press play' option to have Rhapsody start playing music. It all works except for the last part. Instead of Rhapsody, it starts playing one of my other media players, specifically PlayerPro even though I don't have this app up and running. What am I doing wrong? Is there a work around? I don't want to remove PlayerPro as I do use from time to time to play the songs on my device vs. music from the cloud. But Rhapsody is the definitely the primary music player.

Any help appreciated!
 
I never got the approach you are trying to work. I gave up on trying to use the simulated play or next button. Instead I used an emulate touch approach. This seemed to work for me.

Script> Run Shell > input tap X Y (check developer options to identify your x y coordinates)

Google "How to emulate touch input using Tasker and root"
 
Upvote 0
I was wondering if it was how the apps were built. Google obviously can harness their full knowledge, where other developers have to try to work it out.

Part of my previous problem was down to android killing the deezer app after it hadn't been used for a while. Google Play Music All Access doesnt kill the app, so the song can continue once the plugin asks it to

Edit: I found out this morning that the above isnt quite true. While the app remembered which album I was listening to, it didnt remember the song/ song position.
 
  • Like
Reactions: D-U-R-X
Upvote 0
Welcome to android Forums.

You responded to a post that was made 3.5 years ago.

The way to learn Tasker is to start out simple. Get it to work by testing and tweaking. Add capability. Repeat the process.

In this case ... try creating a Task that launches the app you want. You would manually invoke this each time to run. Get that running and then look at the automation.

If you have a problem ... post it here and we will see how we can help.

... Thom
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones