mirror of
https://github.com/fishyboteso/fishyboteso.git
synced 2024-08-30 18:32:13 +00:00
add sound feedback to recording hole
This commit is contained in:
parent
b0a8db7528
commit
bfb498d1c9
@ -6,6 +6,10 @@ from tkinter.filedialog import asksaveasfile
|
||||
|
||||
import typing
|
||||
|
||||
from playsound import playsound
|
||||
|
||||
from fishy import helper
|
||||
|
||||
if typing.TYPE_CHECKING:
|
||||
from fishy.engine.fullautofisher.engine import FullAuto
|
||||
from fishy.engine.fullautofisher.mode.imode import IMode
|
||||
@ -26,6 +30,7 @@ class Recorder(IMode):
|
||||
def _mark_hole(self):
|
||||
coods = self.engine.get_coods()
|
||||
self.timeline.append(("check_fish", coods))
|
||||
playsound(helper.manifest_file("beep.wav"), False)
|
||||
logging.info("check_fish")
|
||||
|
||||
def run(self):
|
||||
|
Loading…
Reference in New Issue
Block a user