Need help with device registration in Spotify
I’m working on connecting an external Spotify-certified speaker to be controlled through the Spotify Web API. I can successfully retrieve the list of available devices using the Web API, but I can’t figure out how to register my new speaker to appear in that list.
The speaker isn’t a mobile device like a phone or tablet. It’s a standalone audio device that should be controllable remotely. When I use the official Spotify app, it somehow detects and adds the speaker automatically, but I need to do this programmatically.
I’ve tried monitoring network traffic to understand the registration process, and I notice some MDNS broadcast packets, but I can’t determine the exact method used for device registration.
Main questions:
- Is there a way to programmatically register external audio devices through the Spotify Web API?
- Does anyone understand the device discovery and registration mechanism that the official Spotify client uses?