CappielloAntonio / tempo

An open source and lightweight music client for Subsonic, designed and built natively for Android.
GNU General Public License v3.0
865 stars 39 forks source link

[Feature Request] - Automate using Tasker #177

Open Programie opened 4 months ago

Programie commented 4 months ago

Summary

I want to control Tempo using Tasker.

Description

Please add a way to control various things in Tempo (i.e. by reacting to an intent action).

One would be to start/stop playing music, another one could be to start playing a specific playlist/album/artist. Or maybe also to trigger saving the current playing queue to the server.

Use Case

I'm often listening to music while driving with my car. In that case, my smartphone is connected to my car radio using bluetooth.

To be able to actually play music, I have to make sure that Tempo is the active media player as seen by Android. But that's not always the case, especially if I closed the app or didn't used it for a while.

Therefore, I already configured Tasker to start the app and send "Play" to the app by using "Media Control". But this does not work reliable. I also had to add a one second wait between the launch and sending "Play" to make sure the app is running and accepting the media control signal.

Additional context