ah my syntax was wrong... that was driving my crazy. I'm in, thanks!
Yeah I have some cheap DACS, but I was more interested in the bluetooth sink aspects of this project.
I have two main issues right now - 1, even if the Bluetooth speaker connects, the script doesn't detect it and states "device discovery failed", and keeps looping. I'm assuming that's a quick fix that checks if something connected out of band somehow during the loop.
Two - When I do have it working, it's actually pretty reliable, but there seems to be a resampling issue, because if I sync it with a laptop squeezelite then the esp32 skips every 5-6 seconds. If I increase the sync delay windows flag to 1000ms, then it doesn't skip at all