projects
/
forks
/
peks-announcer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc00cd2
)
removed sleep and made the audio event block
author
Georgios Atheridis
<georgios@atheridis.org>
Sat, 14 Jan 2023 05:41:50 +0000
(
05:41
+0000)
committer
Georgios Atheridis
<georgios@atheridis.org>
Sat, 14 Jan 2023 05:41:50 +0000
(
05:41
+0000)
announcer.pyw
patch
|
blob
|
history
diff --git
a/announcer.pyw
b/announcer.pyw
index b770a356244ec80d31cca013f3fc092b73274d5f..5c382c03efd918043903408a148900ee970bff5e 100644
(file)
--- a/
announcer.pyw
+++ b/
announcer.pyw
@@
-71,8
+71,7
@@
volume = 100
def play_event_sound(event):
ap = audioplayer.AudioPlayer(SOUNDS_FOLDER + random.choice(EVENT_SOUNDS[event]))
ap.volume = volume
- ap.play(block=False)
- time.sleep(10)
+ ap.play(block=True)
def update_volume(v):
global volume