Example #1
0
def currentHandler():
	return spotify.currentTrack()
Example #2
0
def nextHandler():
	spotify.pause()
	spotify.next()
	json = spotify.currentTrack()
	spotify.play()
	return json
Example #3
0
def playHandler():
	spotify.play()
	return spotify.currentTrack()
Example #4
0
def pauseHandler():
	spotify.pause()
	return spotify.currentTrack()
Example #5
0
def previousHandler():
	spotify.pause()
	spotify.previous()
	json = spotify.currentTrack()
	spotify.play()
	return json