def currentHandler(): return spotify.currentTrack()
def nextHandler(): spotify.pause() spotify.next() json = spotify.currentTrack() spotify.play() return json
def playHandler(): spotify.play() return spotify.currentTrack()
def pauseHandler(): spotify.pause() return spotify.currentTrack()
def previousHandler(): spotify.pause() spotify.previous() json = spotify.currentTrack() spotify.play() return json