Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
49
def
nextsong(event):
50
global index
51
index += 1
52
pygame.mixer.music.load(listofsongs[index])
53
pygame.mixer.music.play()
54
updatelabel()
55
56
57
def
prevsong(event):
Callers
nothing calls this directly
Calls
3
updatelabel
Function · 0.85
play
Method · 0.80
load
Method · 0.45
Tested by
no test coverage detected