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

detect noisy application/tab #1665

Open
nnals opened this issue Jan 30, 2018 · 1 comment
Open

detect noisy application/tab #1665

nnals opened this issue Jan 30, 2018 · 1 comment

Comments

@nnals
Copy link

nnals commented Jan 30, 2018

hello,

is there perhaps any possibility to detect which application (or tab if it's a browser) is producing sound at a certain moment? i'd love to setup a hotkey for switching to the current application i'm listening to music with (spotify app, soundcloud tab, youtube tab, ...).

i guess one would have to go through a list of applications and use a specific method to determine whether it is playing sound (and from which tab if it's a browser).

firefox for example shows a "tab visual sound indicator" (https://support.mozilla.org/en-US/kb/mute-sound-firefox-tabs; https://wiki.mozilla.org/QA/Tab_visual_sound_indicator). there must be an API for this. then there's hs.spotify...

or is there a better way?

thank you,
nicolai

@cmsj
Copy link
Member

cmsj commented Jan 31, 2018

I'm not sure which APIs would be necessary to detect it, but it may be possible :)

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

No branches or pull requests

2 participants