This script allows use of spotify via DBus on linux machines.
Hubot must be running as the same user as the spotify instance.
HUBOT_SPOTIFY_SLACK_SUPPORT - if set will use slack attachments to send the message, otherwise just a regular message
hubot sp play - toggle the play status (if playing will pause, if paused will play)
hubot sp pause - pauses the music, play again with sp play
hubot sp prev - go to previous track
hubot sp next - go to next track
hubot sp open <URI> - opens the spotify URI supplied (e.g. starts with spotify:*)
hubot sp radio <URI> - starts spotify radio using the given URI as a base (e.g. starts with spotify:*)
hubot sp current - Shows current playing track
hubot sp search - not implemented yet