 # Commands:
 #   hubot sp playtoggle - toggle the play status
 #   hubot sp pause - pauses the music, play again with sp playtoggle
-#   hubot sp prev - not implemented yet
-#   hubot sp next - not implemented yet
+#   hubot sp prev - go to previous track
+#   hubot sp next - go to next track
 #   hubot sp open <URI> - not implemented yet
 #   hubot sp current - not implemented yet
 #   hubot sp art - not implemented yet

        msg.send "Error: #{err}"
      else
        iface.PlayPause()
        msg.send "Play toggled"


spotifyPid = (callback) ->

        msg.send "Error: #{err}"
      else
        iface.Pause()
        msg.send ":pause:"

  robot.respond /sp playtoggle$/i, (msg) ->
    getInterface (err, iface) ->
