GameSentenceMiner 2.4.0__py3-none-any.whl → 2.4.1.dev1__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 CHANGED
@@ -415,14 +415,15 @@ def cleanup():
415
415
  def check_for_stdin():
416
416
  while True:
417
417
  for line in sys.stdin:
418
- match line:
419
- case "exit":
420
- cleanup()
421
- sys.exit(0)
422
- case "restart_obs":
423
- restart_obs()
424
- case "update":
425
- update_icon()
418
+ logger.info(f"Got stdin: {line}")
419
+ if "exit" in line:
420
+ cleanup()
421
+ sys.exit(0)
422
+ elif "restart_obs" in line:
423
+ restart_obs()
424
+ elif "update" in line:
425
+ update_icon()
426
+ sys.stdin.flush()
426
427
 
427
428
 
428
429
  def handle_exit():
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: GameSentenceMiner
3
- Version: 2.4.0
3
+ Version: 2.4.1.dev1
4
4
  Summary: A tool for mining sentences from games. Update: Multi-Line Mining! Fixed!
5
5
  Author-email: Beangate <bpwhelan95@gmail.com>
6
6
  License: MIT License
@@ -73,6 +73,12 @@ There are settings in GSM that may help accomodate for a poor hook, but if you e
73
73
 
74
74
  ## 1. Installing and Running the Script
75
75
 
76
+ ### New Way as of 2.4.0
77
+
78
+ Grab the latest Installer or Zip from [Releases](https://github.com/bpwhelan/GameSentenceMiner/releases), and then either run the installer or run GameSentenceMiner.exe.
79
+
80
+ ### Old Way - Will still work for the forseeable future
81
+
76
82
  https://pypi.org/project/GameSentenceMiner/
77
83
 
78
84
  Python + pip needs to be installed, make sure you install 3.11 or higher, since older versions may not be supported.
@@ -4,7 +4,7 @@ GameSentenceMiner/config_gui.py,sha256=nk0-aFTrqtygbLOqnQMSUqHQFda4bRhFG18Tz3Ans
4
4
  GameSentenceMiner/configuration.py,sha256=zj3Oi1oRN0oxV_Y1xVbtGdxo0966am13j-cmKS7ezLs,14509
5
5
  GameSentenceMiner/ffmpeg.py,sha256=4nyl_kdXi_trzDyhhjSmszN0BlFF-McAFyOghvCyl34,11142
6
6
  GameSentenceMiner/gametext.py,sha256=AkK77s_orZrWYEZEDDN9V8vvwiyt_YKAlWS4hhYXUx4,8928
7
- GameSentenceMiner/gsm.py,sha256=PdUWRlj9fCHKdPccgN_eHUyARQiN2302xZ8h9glv9c8,19402
7
+ GameSentenceMiner/gsm.py,sha256=nJa1FdPZOBOWvKRAmkoDcoMKsIVqg9DsjAp6N17Fb80,19448
8
8
  GameSentenceMiner/model.py,sha256=oh8VVT8T1UKekbmP6MGNgQ8jIuQ_7Rg4GPzDCn2kJo8,1999
9
9
  GameSentenceMiner/notification.py,sha256=WBaQWoPNhW4XqdPBUmxPBgjk0ngzH_4v9zMQ-XQAKC8,2010
10
10
  GameSentenceMiner/obs.py,sha256=8ImXAVUWa4JdzwcBOEFShlZRZzh1dCvdpD1aEGhQfbU,6566
@@ -18,9 +18,9 @@ GameSentenceMiner/vad/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3h
18
18
  GameSentenceMiner/vad/silero_trim.py,sha256=syDJX_KbFmdyFFtnQqYTD0tICsUCJizYhs-atPgXtxA,1549
19
19
  GameSentenceMiner/vad/vosk_helper.py,sha256=-AAwK0cgOC5rK3_gL0sQgrPJ75E49g_PxZR4d5ckwc4,5826
20
20
  GameSentenceMiner/vad/whisper_helper.py,sha256=bpR1HVnJRn9H5u8XaHBqBJ6JwIjzqn-Fajps8QmQ4zc,3411
21
- gamesentenceminer-2.4.0.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
22
- gamesentenceminer-2.4.0.dist-info/METADATA,sha256=6btZ39tUljzNLw1-zbN51y_iiIsTKBp52oeWe7qKQx4,10142
23
- gamesentenceminer-2.4.0.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
24
- gamesentenceminer-2.4.0.dist-info/entry_points.txt,sha256=2APEP25DbfjSxGeHtwBstMH8mulVhLkqF_b9bqzU6vQ,65
25
- gamesentenceminer-2.4.0.dist-info/top_level.txt,sha256=V1hUY6xVSyUEohb0uDoN4UIE6rUZ_JYx8yMyPGX4PgQ,18
26
- gamesentenceminer-2.4.0.dist-info/RECORD,,
21
+ gamesentenceminer-2.4.1.dev1.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
22
+ gamesentenceminer-2.4.1.dev1.dist-info/METADATA,sha256=JsOXN8xdga2-9UK5l73MtXnU9-qb8m1HJUE41zrSCwI,10400
23
+ gamesentenceminer-2.4.1.dev1.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
24
+ gamesentenceminer-2.4.1.dev1.dist-info/entry_points.txt,sha256=2APEP25DbfjSxGeHtwBstMH8mulVhLkqF_b9bqzU6vQ,65
25
+ gamesentenceminer-2.4.1.dev1.dist-info/top_level.txt,sha256=V1hUY6xVSyUEohb0uDoN4UIE6rUZ_JYx8yMyPGX4PgQ,18
26
+ gamesentenceminer-2.4.1.dev1.dist-info/RECORD,,