badaix / snapdroid

Snapcast client for Android
GNU General Public License v3.0
135 stars 26 forks source link

AndroidManifest: expose .SnapclientService, fixes #34 #39

Closed stijnvdb88 closed 3 years ago

stijnvdb88 commented 3 years ago

Hi!

This change allows users to directly start/stop the snapclient service via shell:

Start: shell am startservice -n de.badaix.snapcast/.SnapclientService --es "EXTRA_HOST" "host_address_here" --ei "EXTRA_PORT" 1704 -a "ACTION_START"

Stop: shell am startservice -n de.badaix.snapcast/.SnapclientService -a "ACTION_STOP"

This in turn allows Tasker users to set up actions that can start/stop the player, as requested in #34

badaix commented 3 years ago

Great, thanks! And sorry for the delay :(