Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use ControlPlace to pause Spotify while in a Meeting? #502

Open
ssbarnea opened this issue Nov 30, 2018 · 1 comment
Open

How to use ControlPlace to pause Spotify while in a Meeting? #502

ssbarnea opened this issue Nov 30, 2018 · 1 comment

Comments

@ssbarnea
Copy link

One very useful use-case would be to pause Spotify playing while you are in a meeting.

I would measure "being in a meeting" as having an application running, in my case BlueJeans. When this application is running I want to tell Spotify to pause.

Optionally I would like to resume it when the meeting application is quit.

@mikew
Copy link

mikew commented Jan 10, 2019

Seems like this is already possible with the existing "Running Application" evidence source paired with this shell script

#!/usr/bin/env bash

osascript -e 'tell application "Spotify" to playpause'

Script taken from here: https://github.com/hnarayanan/shpotify

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants