An open API service indexing awesome lists of open source software.

https://github.com/jasonrudolph/launchbar-sonos-actions

A few LaunchBar actions for controlling your Sonos system 🔉🎶
https://github.com/jasonrudolph/launchbar-sonos-actions

launchbar launchbar-action sonos

Last synced: 2 months ago
JSON representation

A few LaunchBar actions for controlling your Sonos system 🔉🎶

Awesome Lists containing this project

README

        

# Sonos Actions for LaunchBar

A few [LaunchBar][] actions for controlling your Sonos system:

- Play/Pause
- Mute/Unmute
- Volume Up
- Volume Down

screenshot

### Requirements

Download and install [Sonos Controller for Mac](http://www.sonos.com/en-us/controller-app) from sonos.com.

These actions are developed to work with Sonos Controller for Mac **v8.0**. Because the Sonos app doesn't officially support scripting via AppleScript, we have to resort to fragile GUI scripting. 🙈 Future changes to the Sonos app may break these actions. 😱

### Installation

I recommend cloning the repo to install these actions like so:

```
git clone https://github.com/jasonrudolph/launchbar-sonos-actions.git
cd launchbar-sonos-actions
./script/setup
```

If you'd rather not do that, you can [download this repository as a zip file][zip], unzip it, and then double-click each individual action to install it.

📣 👋 Because these actions have to use AppleScript to control the Sonos GUI, the first time you trigger one of these actions via LaunchBar, macOS will prompt you to authorize the LaunchBar AppleScript Runner to run as an assistive device [[screenshot](https://cloud.githubusercontent.com/assets/2988/24083596/5ae7a73e-0cb0-11e7-8819-6e89f1c0220a.png)].

### Shout-outs

Shout-out to [@mlinzner](https://github.com/mlinzner)'s [LaunchBar actions for Spotify][mlinzner-launchbar-for-spotify] as the inspiration for these Sonos actions. And shout-out to [phpfunk/alfred-sonos-sound-controls][phpfunk-alfred-for-sonos] for providing the majority of the AppleScript used to control Sonos in these actions.

### TODO

- [ ] Add action for skipping to the next song (xref: [b551555](https://github.com/jasonrudolph/launchbar-sonos-actions/commit/b55155527023788cebb642c7b8f126d1c6273e89), [008c89f](https://github.com/jasonrudolph/launchbar-sonos-actions/commit/008c89f585b8b967da17441c23fa69b593696fae))

### You might also like...

Still reading? Dude, you're pretty serious about LaunchBar. :bowtie:

Lucky for you, the fun doesn't have to stop here. Why not try [these other LaunchBar actions][jasonrudolph-launchbar-repos] on for size? 👌

[jasonrudolph-launchbar-repos]: https://github.com/search?utf8=%E2%9C%93&q=topic%3Alaunchbar+user%3Ajasonrudolph&type=Repositories&ref=searchresults
[launchbar]: https://www.obdev.at/products/launchbar
[mlinzner-launchbar-for-spotify]: https://github.com/mlinzner/LaunchBarActions/tree/9660d54a6bec1ef6138f5f3440f7a35966c5e67a/actions/Control%20Spotify
[phpfunk-alfred-for-sonos]: https://github.com/phpfunk/alfred-sonos-sound-controls/tree/d6051dee7c7108e690cf7a01b8ddd7443a480d36
[zip]: https://github.com/jasonrudolph/launchbar-sonos-actions/archive/master.zip