Took existing spotify_cmd (https://code.google.com/p/spotifycmd/) and added a command to send in a spotify url and play it. Also created another executable to feed in a song from a queue whenever spotify finishes.