This is only an idea, but the idea is to create a stand-alone device like the one seen here http://blog.zenona.com/ using the spark core or photon. In theory you could use the spark core and/or photon to transmit data to the internet, where a computer could run an proxy of some kind that could find the type of data (song name, artist, playlist, album, etc.) and then use processing to upload the wanted information to a teensyduino, which could then mimic key/ mouse presses to specifically search up the song or playlist and play it. You could also bind certain hotkeys to different abilities such as play/pause, skip, previous, etc. using a API like Toastify for Spotify. If you have any Ideas, please comment and share them.
Yours in Making,