发表文章

[Objective-C] 支持 macOS 山脉 Support for macOS Sierra[mac-bt-headset-fix]

lawrencem 2017-10-9 31

该应用程序似乎不再功能, 在 macOS 塞拉 GM 测试。

原文:

The app appears to no longer function, as tested in macOS Sierra GM.

相关推荐
最新评论 (20)
Tronix117 2017-10-9
1


在这里同样的问题

原文:


Same issue here

vincentducorps 2017-10-9
2

@jguice :)

原文:

Up @jguice :)

jguice 2017-10-9
3

拉什卡尔加! 我想是时候升级了 (此外, 我真的应该把通知电子邮件回... 感谢 @mention @vincentducorps)

原文:

Gah! Guess it's time for me to upgrade. (also I should really turn notification emails back on...thanks for the @mention @vincentducorps)

Tronix117 2017-10-9
4

[NSEvent addGlobalMonitorForEventsMatchingMask]甚至没有在蓝牙按键上调用:/找不到解决方法。

原文:

[NSEvent addGlobalMonitorForEventsMatchingMask] is not even called anymore on bluetooth key press :/ couldn't find a workaround yet.

kolychev 2017-10-9
5

我不是专家, 但也许我的想法会帮助别人。如果您检查控制台. 应用程序当按下耳机按钮时, 我在控制台中看到:

bluetoothaudiod 暂停
bluetoothaudiod 路标 1 AVRCP 暂停
mediaremoted 从客户端接收到广播命令:
mediaremoted 没有找到可用于命令的目标客户端, 也不包括启动该应用程序的选项。删除命令。
bluetoothaudiod 暂停释放

这个想法是以某种方式将程序注册为 "mediaremoted 客户端", 以便守护进程发送按钮向该 "客户端" 按事件。

原文:

I'm not an expert here, but maybe my thoughts will help someone. If you check Console.app when press headset button, I see in console:

bluetoothaudiod Pause
bluetoothaudiod Signpost 1 AVRCP Pause
mediaremoted Received broadcast command from client :
mediaremoted No destination client can be found for command , and the option to launch the app was not included. Dropping command.
bluetoothaudiod Pause Release

The idea is to register the program as "mediaremoted client" somehow, so that daemon send button press events to that "client".

fleebzz 2017-10-9
6

有关于这个问题的消息吗?

原文:

Any news about this issue ?

vincentducorps 2017-10-9
7

, iTunes 自动发射让我发疯;)

原文:

up, iTunes auto launch makes me insane ;)

hdoria 2017-10-9
8

+1

原文:

+1

jguice 2017-10-9
9

嗨, 终于得到了一个开发环境的设置, 当然可以复制 iTunes 自动启动和破碎的媒体密钥 "重播"。 感谢@Tronix117@kolychev以帮助进行研究。

我将更新这个问题与我的进展 (希望将有一个新的测试版尽快尝试)。

原文:

Hi, finally got a dev environment setup for this and can of course replicate both iTunes autostart and broken media key "replay". Thanks @Tronix117 and @kolychev for help with the research.

I'll update this issue with my progress (and hopefully will have a new beta to try soon).

jguice 2017-10-9
10

嘿好消息

我有一个工作的原型拦截蓝牙按键, 并重放他们作为媒体键。 它还使 iTunes 从运行时起就开始 (并且不再通过 launchctl 卸载守护程序沙包)。

这个新版本是在 swift (我正在学习), 最终将是一个完整的重写 (再次)。 我应该有一个版本在下周的测试。

原文:

Hey, good news.

I have a working prototype that's intercepting bluetooth key-presses and replaying them as media keys. It also keeps iTunes from starting when it's running (and no more hacky unloading daemons via launchctl).

This new version is in swift (which I'm learning) and will ultimately be a complete re-write (again). I should have a version up in the next week for testing.

Tronix117 2017-10-9
11

这真是个好消息:)
受到 itunes 的创伤, 我甚至不敢再戴上耳机了!

干得好!

原文:

That is a really good news :)
Traumatized by itunes, I don't even dare to put my headset on anymore !

Good job !

hdoria 2017-10-9
12

真棒的消息!如果你需要找人来测试, 请告诉我。

原文:

Awesome news! Let me know if you need someone to test it.

timouwerkerk 2017-10-9
13

好消息!期待测试它。干得好!

原文:

Great news! looking forward to test it. Great job as well!

jguice 2017-10-9
14

星期四快乐!

这是Beta (macOS 10.12.1 或更高版本)。:neckbeard:

为任何问题制造问题。

原文:

Happy Thursday!

Here's that Beta (macOS Sierra 10.12.1 or higher only). :neckbeard:

Create issues for any problems/etc.

Dachaz 2017-10-9
15

到目前为止, 它似乎像预期的那样工作。
谢谢!

原文:

So far, it seems to work as expected.
Thank you very much!

AlbertoFdzM 2017-10-9
16

酷, 为我工作。没有更多的 iTunes 窗口在我的屏幕上。

谢谢!

原文:

Cool, working for me too. No more iTunes window on my screen.

Thanks!

fleebzz 2017-10-9
17

大!工作方式更好。

我只会创建一个新的问题, 因为我必须按下播放/暂停两次, 每次行动要执行。

原文:

Great ! Works way better.

I will just create a new issue because I have to press Play/Pause twice each time for action to be executed.

petermnt 2017-10-9
18

工作与索尼 MDR-1000X 和 BeardedSpice, 谢谢!

原文:

Works as expected with Sony MDR-1000X and BeardedSpice, thanks!

danschoppe 2017-10-9
19

编辑: 按预期工作与力 BeatBack 专业耳机。

对于此评论的较早内容, 我无意间在主分支中生成/测试。所有的工作都按预期在塞拉分行进行谢谢!

原文:

Edit: Works as expected with Plantronics BeatBack Pro headphones.

Sorry about the earlier contents of this comment, I had accidentally built / tested with the master branch. Everything works as expected on the sierra branch. Thanks!

jguice 2017-10-9
20

优秀的@DanSchoppe !(我正要问这个问题)。

原文:

Excellent @DanSchoppe ! (I was going to ask that).

返回
发表文章
lawrencem
文章数
1
评论数
0
注册排名
60668