After getting fed up of constantly asking “What song is this?” I set about making a little app that would answer the question for me. I first set Spotify to scribble to Last.fm, and then used the Last.fm API to get the last track scrobbled. I could the use the data to tell if the track was currently playing and then display the track and artist details.
The API is queried periodically so track data is kept up to date, and can also be updated manually by double clicking. It’s a pretty basic app really, with a few nice features like custom chrome, scrolling track info when necessary and a visual indicator as to when the data was last updated, oh and a nifty icon!