Last.fm / Spotify mashup in C