alberti42 / Volume-Control

Successor of iTunes Volume Control
GNU General Public License v3.0
217 stars 10 forks source link

Sonos media player support #17

Closed spacecakes closed 1 year ago

spacecakes commented 1 year ago

Hi. Not an issue but a question: you think it would be possible to add Sonos support to this app, so that you could pick it among the media players and control volume?

shlomiuziel commented 1 year ago

@spacecakes I started working on adding Sonos support, just to discover that the Sonos app isn't scriptable and does not expose any dictionary of scripting suites. An awkward solution could be to either find such 3rd party Sonos scriptable candidate, or make one your own (E.g. a simple Python client that wraps playback actions over https://github.com/SoCo/SoCo and exposes script actions).

spacecakes commented 1 year ago

@shlomiuziel thanks for clarifying! Yeah there are other means of controlling it like SoCo and Menubar Controller for Sonos, which I both use to varying degree, but nothing beats the UX of just turning the volume control using your app.

shlomiuziel commented 1 year ago

I agree, I'm saying that if we'll have an alternative Sonos controller that responds to Apple Scripting, we could pretty easily extend Volume Control to use Sonos through that.