Replies: 1 comment 3 replies
-
Do you happen to know how/what protocol these players use to allow remote control? I have briefly investigated this and I think the "cross-platform" thing will actually be just to implement it differently for each platform. On Linux, implementing the MPRIS standard allows remote control over D-bus and integration with the media keys and OS notification center. On Mac, there is the MPNowPlayingInfoCenter APIs, which I think is probably what enables this behavior in the other players. I am planning on (eventually) getting around to it, for which I'll need to implement a wrapper around these APIs (i.e. writing Obj-C wrapper code that exposes a C API, keeping all Obj-C objects internal, which can then be called through from Go through Cgo) |
Beta Was this translation helpful? Give feedback.
-
a feature that spotify and apple's Music app that i miss is being able to start playback from AppleScript. this e.g. lets me play and pause from a pomodoro timer application i use, and is a generic way for desktop apps to be composed which is cool! i'm not sure what a cross platform solution might look like, but AppleScript or Shortcuts support on mac would be something that i would use.
Beta Was this translation helpful? Give feedback.
All reactions