I built a music "scrobbling" program called rescrobbled to submit music I listen to Last.fm. I was sharing a Spotify account so I couldn't use Last.fm's Spotify integration -- which is pretty bad anyway, in my experience. Rescrobbled has served me well (and a few other people too, apparently).