Jump to content

Sonos Playback Control & Search

Recommended Posts

I was hoping to find a playback controller for the Sonos desktop app but only found Jeff Johns's "Sonos Sound Controls" workflow, which unfortunately only offered volume control hotkeys.


I tend to do a lot of playback control using keywords, so I set some up for Alfred. I'm an AppleScript noob, and Sonos doesn't really support AppleScript, so this was kind of a pain, and pretty hacky. There were some useful posts from 2008, but otherwise, I was kind of stabbing in the dark.


Download here.


There's support for the following commands using the 'sonos' keyword: searchplay/pause, next track, previous track, volume up/down, and mute.




Feedback and suggestions welcomed.

Share this post

Link to post

Hi Chris,


Thank you so much for this workflow.  Obviously love Alfred and just got my SONOS system installed and in the process of developing a complex HA system with as much automation and having ease of use is critical during iterations.


Seems to be working so far and will gladly provide feedback as I go.  


Thank you very much and all my very best,


Share this post

Link to post

This is great, thank you!


On the latest version of the Sonos desktop app for Mac (version 7.1) I had to update the play/pause to be "click button 3 of window 1" instead of button 2. Otherwise all other functions seem to work as is.

Share this post

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...