godbout / alfred-airpodspro-connector

that shit connects and disconnects your AirPods Pro through Alfred. 🎩ī¸
MIT License
60 stars 3 forks source link

dissappears after a verty short time #8

Closed skurl closed 1 year ago

skurl commented 2 years ago

Hi!

When typing "apc" in, the text dissapears very fast. Is that a well known issue? WWhat files exactly do i need to download?

godbout commented 2 years ago

what's in the Alfred debug? hard to know without any log info.

godbout commented 2 years ago

have you installed BluetoothConnector? see README: https://github.com/godbout/alfred-airpodspro-connector#setup

madsb commented 2 years ago

I have the same error. Alfred debug:

[09:37:32.343] Logging Started...
[09:37:33.797] AirPods Pro Connector[[Script Filter](alfredpreferences:workflows%3Eworkflow%3Euser.workflow.BDD00080-456B-4F3A-9C08-4CC638A0891E%3E6EB7D5B0-E02F-4DA2-9AFE-BD02E81F15B5)] Queuing argument '(null)'
[09:37:33.990] AirPods Pro Connector[[Script Filter](alfredpreferences:workflows%3Eworkflow%3Euser.workflow.BDD00080-456B-4F3A-9C08-4CC638A0891E%3E6EB7D5B0-E02F-4DA2-9AFE-BD02E81F15B5)] Script with argv '(null)' finished
[09:37:33.992] AirPods Pro Connector[[Script Filter](alfredpreferences:workflows%3Eworkflow%3Euser.workflow.BDD00080-456B-4F3A-9C08-4CC638A0891E%3E6EB7D5B0-E02F-4DA2-9AFE-BD02E81F15B5)] {"items": [
    {
        "uid": "connector",
        "type": "default",
        "title": "connect Mads – AirPods Max
Mads – AirPods Pro",
        "arg": "--connect D0-65-44-CD-62-F7",
    }
]}
[09:37:33.993] ERROR: AirPods Pro Connector[[Script Filter](alfredpreferences:workflows%3Eworkflow%3Euser.workflow.BDD00080-456B-4F3A-9C08-4CC638A0891E%3E6EB7D5B0-E02F-4DA2-9AFE-BD02E81F15B5)] JSON error: Unescaped control character around line 5, column 46. in JSON:
{"items": [
    {
        "uid": "connector",
        "type": "default",
        "title": "connect Mads – AirPods Max
Mads – AirPods Pro",
        "arg": "--connect D0-65-44-CD-62-F7",
    }
]}
godbout commented 2 years ago

it's coz Mads is not a real name ☚ī¸

godbout commented 2 years ago

ok but also because of this: https://github.com/godbout/alfred-airpodspro-connector#caveat

we've finally reached the caveat. unfortunately 1) i don't have two pairs of bluetooth earphones to try 2) my bash scripting skills are pretty bad, so no way i can figure out something without trying.

any chance you can help? @madsb

godbout commented 1 year ago

maybe that solves: https://github.com/godbout/alfred-airpodspro-connector/releases/tag/4.0.0