BETA TEST: Compact AirPods widget with User-Friendly Setup

widget
scriptdev
#21

Still the same result. The name is replaced after two connect-disconnect actions by my AirPods' name. I don't get this honestly…

0 Likes

#22

Expected behaviour:

[condition: correct behaviour]

Variable does not exist: First-time setup window pops up
Variable exists, is empty: "could not find" window
Variable exists, incorrect name: "could not find" window
Variable exists, correct name: connects airpods

(for recent reply);
Try holding the widget, and see what name is inside the brackets

edit: :thinking: I tried this myself. BTT seems to regenerate the variable if you delete it form the plist file

0 Likes

#23

Ok, don't ask me what happened. But after

  • Deleting again the whole line from the Xcode file
  • Restarting BTT
  • Importing your whole preset once again
  • Setting the action script you posted above
  • Making it the Master preset
  • Restarting BTT

Everything went as expected. BTT asked for the AirPods name, everything is fine with this and works as it should!

0 Likes

#24

Could you upload an exported preset here to make sure we aren't missing any of your changes?

Also do you think that it's stable enough for a beta test?

0 Likes

#25

Sure for both of your questions!
Compact AirPods Widget - d1.2.bttpreset (70.0 KB)

1 Like

#26

Also, I run this widget integrated to my personal preset, where it runs without any troubles too.

0 Likes

#27

I should have some time today to test this! Just keep buggering me lol.

2 Likes

#28

Hm. Recently, I discovered a bug where the Widget shows the alternate icon although the AirPods are not connected as soon as any other Bluetooth device is connected. It's annoying. Anyone else who tested the widget for now had this trouble?

0 Likes

#29

@GoldenChaos Help with the regex please :sweat_smile: I don't really know how to regex

I probably didn't set this in a 'good practice' way

0 Likes

#30

@GoldenChaos, @Caliguvara

Edited post as beta test. Hopefully we don't break anyone's BTT.

0 Likes

#31

Sweet. Working on a new portion of the settings menu to allows users to configure custom bluetooth names to search for, I expect to be a modified version of this. Might start today, it's my next major feature :smiley:

1 Like

#32

@GoldenChaos

:warning:

Does this work though? I’m not sure if it’s stable as of now!!

You should thoroughly test it first. Get back to me with your results so I can post them (or you can if you want since you have mod)

1 Like

#33

Status for now: works perfectly fine, just the icon that changes as soon as any other Bluetooth device (headphones, but also keyboard, mouse,…) is connected. Still not sure how to fix this though.

1 Like

#34

will look into that. Thanks!

Is it running smooth though? it may be working but does it work with hickups?

0 Likes

#35

Nothing that would have come to my consciousness :wink: Runs smooth, from inside groups, from outside groups, it's good for me :man_shrugging:t2:

1 Like

#36

This seems to be the issue, and i have absolutely no idea how it works. Anyone Help?!

0 Likes

#37

Any update on this? I tested on d1.2 it seems to can't find my AirPods.

0 Likes

#38

I can't test for bugs myself as I don't have AirPods. Make sure the name you put in matches your AirPods name exactly though!

0 Likes

#39

Tried to hold it? In order to reinitialise their name?

(edit: I was just about to launch my C3 with this widget in it)

0 Likes

Caliguvara C3: Anki Flashcards, Pomodoro, AirPlay Audio, and much more!
#40

I have checked many times and it still doesn't work, I have no idea why ( ; - ; ) It showed success icon in a spit of second and then went back to grey out icon.

edit: I added photo

0 Likes