Hey HN, I'm the author of a popular music plugin for streamers, http://sourceforge.net/projects/obsmusicstreamd/
My plugin takes the current playing song from several music players, and outputs it to a text file, so it can be shown on a stream. Spotify's most recent update broke compatibility with the plugin however, and now I'm being flooded with emails :(
Previously, it looked through all Windows using the win32api, and looked for windows with "Spotify - " in their title. Spotify's most recent update replaced the title with "Spotify Premium" however. And now I'm at a loss, I've tried contacting their support to connect me to an engineer, but they didn't want to.
I've looked through Spotify's Appdata/local and Appdata/roaming folders, but found nothing I could potentially scrape to get the currently playing song.
So now, I'm looking for either someone with a lot of experience with Spotify who can help me out, or a Spotify engineer with inside knowledge...
See:
- https://medium.com/@b3ngr33ni3r/hijacking-spotify-web-contro...
- http://cgbystrom.com/articles/deconstructing-spotifys-builti...
- https://code.google.com/p/spotify-local-api/