FeelUOwn
FeelUOwn copied to clipboard
接入系统的媒体播放控制
如网易云音乐播放器/浏览器 播放媒体时均可在系统控制处见暂停,上/下一曲,也可以用键盘快捷键来切歌暂停
@reaink 支持
Two demos have been implemented. One is written in pyobjc and the other is written in swift. https://gist.github.com/cosven/22c519d7d82a5c205824d0258dc531a5 https://gist.github.com/cosven/71684e2e08ec07073d418e16cd2dba47
feeluown can't use the pyobjc code directly. One problem is that macOS nowplaying should run with it's own event loop, and it seems the event loop must be run in main thread https://github.com/ronaldoussoren/pyobjc/issues/471.
Another solution is running the pyobjc code in a seperate process. It communicates with feeluown process through RPC/pubsub, just like fust does.
已经在 #674 中支持。