Some AppleScript that I use in conjunction with Alfred to control Spotify