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

Function prevsong

Mp3_media_player.py:57–62  ·  view source on GitHub ↗
(event)

Source from the content-addressed store, hash-verified

55
56
57def prevsong(event):
58 global index
59 index -= 1
60 pygame.mixer.music.load(listofsongs[index])
61 pygame.mixer.music.play()
62 updatelabel()
63
64
65def stopsong(event):

Callers

nothing calls this directly

Calls 3

updatelabelFunction · 0.85
playMethod · 0.80
loadMethod · 0.45

Tested by

no test coverage detected