GameSentenceMiner 2.14.17__py3-none-any.whl → 2.14.18__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- GameSentenceMiner/gsm.py +28 -23
- GameSentenceMiner/util/communication/websocket.py +1 -0
- GameSentenceMiner/util/configuration.py +0 -2
- {gamesentenceminer-2.14.17.dist-info → gamesentenceminer-2.14.18.dist-info}/METADATA +1 -1
- {gamesentenceminer-2.14.17.dist-info → gamesentenceminer-2.14.18.dist-info}/RECORD +9 -9
- {gamesentenceminer-2.14.17.dist-info → gamesentenceminer-2.14.18.dist-info}/WHEEL +0 -0
- {gamesentenceminer-2.14.17.dist-info → gamesentenceminer-2.14.18.dist-info}/entry_points.txt +0 -0
- {gamesentenceminer-2.14.17.dist-info → gamesentenceminer-2.14.18.dist-info}/licenses/LICENSE +0 -0
- {gamesentenceminer-2.14.17.dist-info → gamesentenceminer-2.14.18.dist-info}/top_level.txt +0 -0
GameSentenceMiner/gsm.py
CHANGED
@@ -617,29 +617,34 @@ def initialize_async():
|
|
617
617
|
|
618
618
|
|
619
619
|
def handle_websocket_message(message: Message):
|
620
|
-
|
621
|
-
|
622
|
-
|
623
|
-
|
624
|
-
|
625
|
-
|
626
|
-
|
627
|
-
|
628
|
-
|
629
|
-
|
630
|
-
|
631
|
-
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
|
620
|
+
try:
|
621
|
+
match FunctionName(message.function):
|
622
|
+
case FunctionName.QUIT:
|
623
|
+
cleanup()
|
624
|
+
sys.exit(0)
|
625
|
+
case FunctionName.QUIT_OBS:
|
626
|
+
close_obs()
|
627
|
+
case FunctionName.START_OBS:
|
628
|
+
obs.start_obs()
|
629
|
+
case FunctionName.OPEN_SETTINGS:
|
630
|
+
open_settings()
|
631
|
+
case FunctionName.OPEN_TEXTHOOKER:
|
632
|
+
texthooking_page.open_texthooker()
|
633
|
+
case FunctionName.OPEN_LOG:
|
634
|
+
open_log()
|
635
|
+
case FunctionName.TOGGLE_REPLAY_BUFFER:
|
636
|
+
play_pause(None, None)
|
637
|
+
case FunctionName.RESTART_OBS:
|
638
|
+
restart_obs()
|
639
|
+
case FunctionName.EXIT:
|
640
|
+
exit_program(None, None)
|
641
|
+
case FunctionName.CONNECT:
|
642
|
+
logger.debug("Electron WSS connected")
|
643
|
+
case _:
|
644
|
+
logger.debug(
|
645
|
+
f"unknown message from electron websocket: {message.to_json()}")
|
646
|
+
except Exception as e:
|
647
|
+
logger.debug(f"Error handling websocket message: {e}")
|
643
648
|
|
644
649
|
|
645
650
|
def initialize_text_monitor():
|
@@ -2,7 +2,7 @@ GameSentenceMiner/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU
|
|
2
2
|
GameSentenceMiner/anki.py,sha256=4Tq6OGjfN-5tYorYRWiih7FZjSKMG6amrLv6DFKkFQc,25344
|
3
3
|
GameSentenceMiner/config_gui.py,sha256=SDZ4TEkdhvXxOM_pEG1LABt12M1QkKjMHcQX7bG0OAs,139519
|
4
4
|
GameSentenceMiner/gametext.py,sha256=fgBgLchezpauWELE9Y5G3kVCLfAneD0X4lJFoI3FYbs,10351
|
5
|
-
GameSentenceMiner/gsm.py,sha256=
|
5
|
+
GameSentenceMiner/gsm.py,sha256=0ycEa5PaDo7bU9xsiGt-XyYaERSYiiYJgGpVRLeFZis,31275
|
6
6
|
GameSentenceMiner/obs.py,sha256=7A84DnzO14s98JZ7DIlENuLNGzvf7t7VEKggIrqbeW8,23519
|
7
7
|
GameSentenceMiner/vad.py,sha256=zFReBMvNEEaQ_YEozCTCaMdV-o40FwtlxYRb17cYZio,19125
|
8
8
|
GameSentenceMiner/ai/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -36,7 +36,7 @@ GameSentenceMiner/tools/audio_offset_selector.py,sha256=8Stk3BP-XVIuzRv9nl9Eqd2D
|
|
36
36
|
GameSentenceMiner/tools/ss_selector.py,sha256=cbjMxiKOCuOfbRvLR_PCRlykBrGtm1LXd6u5czPqkmc,4793
|
37
37
|
GameSentenceMiner/tools/window_transparency.py,sha256=GtbxbmZg0-UYPXhfHff-7IKZyY2DKe4B9GdyovfmpeM,8166
|
38
38
|
GameSentenceMiner/util/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
39
|
-
GameSentenceMiner/util/configuration.py,sha256=
|
39
|
+
GameSentenceMiner/util/configuration.py,sha256=JVwaqvfrUrOUiA0kZcznDsCo9hJkJqBpVztyI6JA-YU,40201
|
40
40
|
GameSentenceMiner/util/db.py,sha256=2bO0rD4i8A1hhsRBER-wgZy9IK17ibRbI8DHxdKvYsI,16598
|
41
41
|
GameSentenceMiner/util/electron_config.py,sha256=KfeJToeFFVw0IR5MKa-gBzpzaGrU-lyJbR9z-sDEHYU,8767
|
42
42
|
GameSentenceMiner/util/ffmpeg.py,sha256=jA-cFtCmdCWrUSPpdtFSLr-GSoqs4qNUzW20v4HPHf0,28715
|
@@ -47,7 +47,7 @@ GameSentenceMiner/util/notification.py,sha256=YBhf_mSo_i3cjBz-pmeTPx3wchKiG9BK2V
|
|
47
47
|
GameSentenceMiner/util/text_log.py,sha256=zB9--7J_Wwck74IOEI4aWhmCYouqjSE6Sm0sCznF63Q,6731
|
48
48
|
GameSentenceMiner/util/communication/__init__.py,sha256=xh__yn2MhzXi9eLi89PeZWlJPn-cbBSjskhi1BRraXg,643
|
49
49
|
GameSentenceMiner/util/communication/send.py,sha256=Wki9qIY2CgYnuHbmnyKVIYkcKAN_oYS4up93XMikBaI,222
|
50
|
-
GameSentenceMiner/util/communication/websocket.py,sha256=
|
50
|
+
GameSentenceMiner/util/communication/websocket.py,sha256=Zpnqsy8RUeYxMFNGVUaPrWrlbAHjuNxCsn908iWL_kU,3344
|
51
51
|
GameSentenceMiner/util/downloader/Untitled_json.py,sha256=RUUl2bbbCpUDUUS0fP0tdvf5FngZ7ILdA_J5TFYAXUQ,15272
|
52
52
|
GameSentenceMiner/util/downloader/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
53
53
|
GameSentenceMiner/util/downloader/download_tools.py,sha256=zR-aEHiFVkyo-9oPoSx6nQ2K-_J8WBHLZyLoOhypsW4,8458
|
@@ -71,9 +71,9 @@ GameSentenceMiner/web/templates/index.html,sha256=LqXZx7-NE42pXSpHNZ3To680rD-vt9
|
|
71
71
|
GameSentenceMiner/web/templates/text_replacements.html,sha256=tV5c8mCaWSt_vKuUpbdbLAzXZ3ATZeDvQ9PnnAfqY0M,8598
|
72
72
|
GameSentenceMiner/web/templates/utility.html,sha256=3flZinKNqUJ7pvrZk6xu__v67z44rXnaK7UTZ303R-8,16946
|
73
73
|
GameSentenceMiner/wip/__init___.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
74
|
-
gamesentenceminer-2.14.
|
75
|
-
gamesentenceminer-2.14.
|
76
|
-
gamesentenceminer-2.14.
|
77
|
-
gamesentenceminer-2.14.
|
78
|
-
gamesentenceminer-2.14.
|
79
|
-
gamesentenceminer-2.14.
|
74
|
+
gamesentenceminer-2.14.18.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
75
|
+
gamesentenceminer-2.14.18.dist-info/METADATA,sha256=O46SIBqs6hMZGHMHZU4T-jqvxXG8f9xNnXBRO9rR7rw,7303
|
76
|
+
gamesentenceminer-2.14.18.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
77
|
+
gamesentenceminer-2.14.18.dist-info/entry_points.txt,sha256=2APEP25DbfjSxGeHtwBstMH8mulVhLkqF_b9bqzU6vQ,65
|
78
|
+
gamesentenceminer-2.14.18.dist-info/top_level.txt,sha256=V1hUY6xVSyUEohb0uDoN4UIE6rUZ_JYx8yMyPGX4PgQ,18
|
79
|
+
gamesentenceminer-2.14.18.dist-info/RECORD,,
|
File without changes
|
{gamesentenceminer-2.14.17.dist-info → gamesentenceminer-2.14.18.dist-info}/entry_points.txt
RENAMED
File without changes
|
{gamesentenceminer-2.14.17.dist-info → gamesentenceminer-2.14.18.dist-info}/licenses/LICENSE
RENAMED
File without changes
|
File without changes
|