Very cool.
I once did something similar using sockets and Cloudflare's Durable Objects. I had my current playing song, workout minutes and git commit count.
It was a bit unreliable when I switched to Apple Music so it's gone away for now.
This has inspired me to make it again.