Closed Blackbird9223 closed 4 years ago
thank you @Blackbird9223 !
Hey, sorry for not getting back. I will test it again and prepare a new release latest next week Tuesday as I am away from my machine at the moment. Thank you for the contribution!
@romancin Hey,
If you have already installed the original workflow, you can just open the Alfred preferences, Workflows and click right mouse on „AirPods Connector“ then "Open in Finder“. Here you can find get_devices.py and edit it manually conforming to my commit in gitHub https://github.com/Blackbird9223/alfred-airpods-connector/commit/ec51010473c06cbf743df2411280128ece71a92a#diff-75f90893cf3e0406c69331e874fd725c.
Hope it works for you!
Hi @Blackbird9223 thank you very much for this! As the author is not merging this for the moment, how can I generate the .workflow file using your code? Thank you!
I have merged your changes! Thank you very much again for your contribution. v2.0.0 of BluetoothConnector requires some additional changes in the workflow. I will post a short update in #4 once I have prepared the release.
As the workflow didn't work for me, I guess due to another Version of BluetoothConnector it couldn't retrieve the device list, I changed it a bit. BluetoothConnector 2.0 gives an error when no argument is provided. So I had to catch the stderr and to change the regex to avoid listing 'Error:' and 'MAC' in deviceMacs. For me it works perfect now.
Should be working with old version as well.