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