Minor improvement for _linux_wav_play

This commit is contained in:
Miroslav Stampar
2025-02-10 22:47:30 +01:00
parent 4faaabf795
commit 900c9497d9
3 changed files with 4 additions and 4 deletions

View File

@@ -49,7 +49,7 @@ def _win_wav_play(filename):
winsound.PlaySound(filename, winsound.SND_FILENAME)
def _linux_wav_play(filename):
for _ in ("aplay", "paplay", "play"):
for _ in ("paplay", "aplay", "mpv", "mplayer", "play"):
if not os.system("%s '%s' 2>/dev/null" % (_, filename)):
return