bmunoz89 / alfred-wf-bluetooth-manager

Connect and disconnect a bluetooth device easily
https://www.alfredforum.com/topic/13493-bluetooth-manager-connect-and-disconnect-a-bluetooth-device-easily/
MIT License
62 stars 0 forks source link

bds uses wrong MAC address #6

Closed Acidham closed 5 years ago

Acidham commented 5 years ago

Issue

When I try to disconnect a BT service the wrong mac address is used. When I run the command on CLI with the correct MAC address the device will be properly disconnected

Steps to reproduce

  1. bds → select device
  2. Debug shows:
    Bluetooth manager[Script Filter] Passing output '{"name": "Trackpad", "mac_address": "8c-85-90-f2-38-d0"}' to Run Script
  3. Bluetooth Manager writes in Debug console with MAC address selected in WF 8c-85-90-f2-38-d0
    09:43:08 workflow.py:2061 DEBUG    ---------- Bluetooth manager (1.0.1) ----------
    09:43:08 disconnect_device.py:31 DEBUG    7c-04-d0-8b-f4-05
    09:43:08 disconnect_device.py:22 DEBUG    /usr/local/bin/BluetoothConnector --disconnect 7c-04-d0-8b-f4-05 --notify
Acidham commented 5 years ago

Pull Request #8 should fix the issue

bmunoz89 commented 5 years ago

@Acidham Seems like you are using the previous version, try to delete it and download the last one from here https://github.com/bmunoz89/alfred-wf-bluetooth-manager/releases/tag/2.0.0

Acidham commented 5 years ago

Ok in this case something is wrong with your download link ...or maybe I did something weird ;)

bmunoz89 commented 5 years ago

I just tried the link in README.md https://github.com/bmunoz89/alfred-wf-bluetooth-manager/releases/latest/download/Bluetooth.manager.alfredworkflow and looks ok 🤔