SONOS Controller for Alfred
I wrote this workflow to control some basic function of my SONOS speakers from Alfred. This workflow depends on the excellent SoCo Python class: https://github.com/SoCo/SoCo so install it. I did not embed SoCo into the workflow because I'm using in other projects as well. I also used deanishe's Alfrew Workflow helper library: https://github.com/deanishe/alfred-workflow Many thanks for this wonderful tool!
There are two keywords implemented in this Sonos Control workflow:
- sc: apply commands to all speakers
- scs: select a zone first and then apply the basic commands on the selected zones
You can select the commands from the appearing menu or just type their keywords after sc (command keywords are in square brackets) such as:
- sc play: starts playback
- sc pause: pauses playback
- sc inc: increases volume by 5%
- sc dec: decreases volume by 5%
- sc next: skips to next track
- sc vol {numeric value between 0-100}: sets volume to specified percentage
Changelog:
v1.0 + Initial version.