Using Squeeze Control with Tasker
Squeeze Control supports control by Tasker using Intents.
These intents are for the republished app Squeeze Ctrl. If you are using the the previous app Squeeze Control, change squeezectrl to sqzctrl.
Create a Send Intent task in Tasker with the following info:
- Action: <one of the intents below>
- Package: com.angrygoat.android.squeezectrl
- Target: Broadcast Receiver
Intents:
Rew, Play/Pause, Fwd:
com.angrygoat.android.squeezectrl.REMOTE_REWcom.angrygoat.android.squeezectrl.REMOTE_PLAY
com.angrygoat.android.squeezectrl.REMOTE_FWD
Volume up/down:
com.angrygoat.android.squeezectrl.REMOTE_VOLDNcom.angrygoat.android.squeezectrl.REMOTE_VOLUP
Exit the app:
com.angrygoat.android.squeezectrl.REMOTE_CLOSEThe following only work with version 1.6.2+:
Toggle Player Power:
com.angrygoat.android.squeezectrl.REMOTE_POWERBy default this toggles the power. To specify a state (on/off), put this in the first Extra field:
1for "on"
0for "off"
Select Player:
com.angrygoat.android.squeezectrl.REMOTE_PLAYER_SELECTPut this in the first Extra field:
playerId:<MAC address of player>If the player is on a different server, put this in the second Extra field:
server:<IP address of the server>The following only work with Squeeze Ctrl:
Connect to the server:
com.angrygoat.android.squeezectrl.REMOTE_CONNECT (this will also launch the app in the background)(Ver. 1.7.3+) You can specify a server by putting this in the Extra field:
server:<address>:<port>(Ver. 1.7.3+) If the server requires login, put this in the second Extra field:
login:<username>:<password>(Ver. 1.7.3+) After a successful connection or if the server is already connected,
Squeeze Ctrl will broadcast the following intent:
Disconnect from the server:
com.angrygoat.android.squeezectrl.REMOTE_DISCONNECTDirectly set the volume:
com.angrygoat.android.squeezectrl.REMOTE_VOLUMEPut this in the first Extra field:
value:<0 - 100>