Commit 673d7417 by BellCodeEditor

auto save

parent 87966f8d
Showing with 1 additions and 1 deletions
...@@ -14,7 +14,6 @@ next_img = pygame.image.load('next.png') # 下一曲按钮 ...@@ -14,7 +14,6 @@ next_img = pygame.image.load('next.png') # 下一曲按钮
logo_img = pygame.image.load('logo.png') # 下一曲按钮 logo_img = pygame.image.load('logo.png') # 下一曲按钮
music_list = [] music_list = []
path = "C:\\Users\\bellcode\\Desktop\\test"
filelist = os.listdir(path) filelist = os.listdir(path)
num = -1 num = -1
for i in filelist: for i in filelist:
...@@ -25,6 +24,7 @@ pygame.mixer.music.set_volume(volume) # 初始播放音量 ...@@ -25,6 +24,7 @@ pygame.mixer.music.set_volume(volume) # 初始播放音量
click = 0 click = 0
play_button = stop_img play_button = stop_img
while True: while True:
for event in pygame.event.get(): for event in pygame.event.get():
if event.type == locals.QUIT: if event.type == locals.QUIT:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment