MCPcopy
hub / github.com/geekcomputers/Python / nextsong

Function nextsong

Mp3_media_player.py:49–54  ·  view source on GitHub ↗
(event)

Source from the content-addressed store, hash-verified

47
48
49def nextsong(event):
50 global index
51 index += 1
52 pygame.mixer.music.load(listofsongs[index])
53 pygame.mixer.music.play()
54 updatelabel()
55
56
57def prevsong(event):

Callers

nothing calls this directly

Calls 3

updatelabelFunction · 0.85
playMethod · 0.80
loadMethod · 0.45

Tested by

no test coverage detected