Skip to content

Commit

Permalink
upgrade linux exe, fix sound
Browse files Browse the repository at this point in the history
  • Loading branch information
Sander Land committed Aug 16, 2024
1 parent a42aba2 commit 9c1c789
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified katrain/KataGo/katago
Binary file not shown.
2 changes: 1 addition & 1 deletion katrain/gui/sound.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
cached_sounds = {}

# prefer ffpyplayer on linux, then others, avoid gst and avoid or ffpyplayer on windows
ranking = [("ffpy", 98 if platform in ["win", "macosx"] else -2), ("sdl", -1), ("gst", 99), ("", 0)]
ranking = [("ffplay", 98 if platform in ["win", "macosx"] else -2), ("sdl", -1), ("gst", 99), ("", 0)]
try:
SoundLoader._classes.sort(key=lambda cls: [v for k, v in ranking if k in cls.__name__.lower()][0])
except Exception as e:
Expand Down

0 comments on commit 9c1c789

Please sign in to comment.