[LB6 Action] Control Sonos

Sharing and discussing custom actions for LaunchBar
jasonrudolph
Posts: 10
Joined: Mon Dec 28, 2015 3:03 am

[LB6 Action] Control Sonos

Postby jasonrudolph » Mon Mar 20, 2017 3:02 am

Control your Sonos system via LaunchBar. You can play, pause, mute, unmute, and adjust volume up and down.

Image

Download
https://github.com/jasonrudolph/launchb ... v0.1.0.zip

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

Requirements
If you don't already have it, you'll need to download and install Sonos Controller for Mac from sonos.com. These actions are developed to work with Sonos Controller for Mac v7.1. Because the Sonos app doesn't officially support scripting via AppleScript, we have to resort to fragile GUI scripting. As a result, future changes to the Sonos app may break these actions.

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].

Feedback
If you give this action a try and you run into any issues, please let me know. <3

Return to “LaunchBar Actions”

Who is online

Users browsing this forum: No registered users and 5 guests