I did it. https://github.com/mutatrum/SonoStr
this is crazy. i like it. i thought i had to go the long way of having to interact with player APIs and access tokens, but i love this simplified version of the Sonos technology. does it work with bluetooth since i dont have sonos wireless speakers that can connect to the wifi to test with.
You have to rip out the Sonos stuff and get the music metadata from somewhere. If you're playing music from your phone on a bt speaker, that's going to be tricky. If you use a laptop, my guess is that would be fairly easy. I have it running on a RPi with a display, so it also shows the album art on my desk. You might need to rip that out as well, can't remember if I made it really configurable.
i shall check it out. i want to feed mine from web browser since thats where the player is on my desktop. not sure if i use desktop app to play i can catch some sort of notifications without having to involve an api, detect it some way. i think if i use vlc for already offline music, thats easier since vlc has a notification, and i can fetch that? what do you think?