If you're looking for a way to turn your Bluetooth speaker into a Spotify Connect device, then this is the way.
Infrared remote library for ESP8266/ESP32: send and receive infrared signals with multiple protocols. Based on: https://github.com/shirriff/Arduino-IRremote/ ...