GameSentenceMiner 2.4.0__tar.gz → 2.4.1.dev1__tar.gz

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.
Files changed (31) hide show
  1. {gamesentenceminer-2.4.0 → gamesentenceminer-2.4.1.dev1}/GameSentenceMiner/gsm.py +9 -8
  2. {gamesentenceminer-2.4.0 → gamesentenceminer-2.4.1.dev1}/GameSentenceMiner.egg-info/PKG-INFO +7 -1
  3. {gamesentenceminer-2.4.0 → gamesentenceminer-2.4.1.dev1}/PKG-INFO +7 -1
  4. {gamesentenceminer-2.4.0 → gamesentenceminer-2.4.1.dev1}/README.md +6 -0
  5. {gamesentenceminer-2.4.0 → gamesentenceminer-2.4.1.dev1}/pyproject.toml +1 -1
  6. {gamesentenceminer-2.4.0 → gamesentenceminer-2.4.1.dev1}/GameSentenceMiner/__init__.py +0 -0
  7. {gamesentenceminer-2.4.0 → gamesentenceminer-2.4.1.dev1}/GameSentenceMiner/anki.py +0 -0
  8. {gamesentenceminer-2.4.0 → gamesentenceminer-2.4.1.dev1}/GameSentenceMiner/config_gui.py +0 -0
  9. {gamesentenceminer-2.4.0 → gamesentenceminer-2.4.1.dev1}/GameSentenceMiner/configuration.py +0 -0
  10. {gamesentenceminer-2.4.0 → gamesentenceminer-2.4.1.dev1}/GameSentenceMiner/downloader/Untitled_json.py +0 -0
  11. {gamesentenceminer-2.4.0 → gamesentenceminer-2.4.1.dev1}/GameSentenceMiner/downloader/__init__.py +0 -0
  12. {gamesentenceminer-2.4.0 → gamesentenceminer-2.4.1.dev1}/GameSentenceMiner/downloader/download_tools.py +0 -0
  13. {gamesentenceminer-2.4.0 → gamesentenceminer-2.4.1.dev1}/GameSentenceMiner/ffmpeg.py +0 -0
  14. {gamesentenceminer-2.4.0 → gamesentenceminer-2.4.1.dev1}/GameSentenceMiner/gametext.py +0 -0
  15. {gamesentenceminer-2.4.0 → gamesentenceminer-2.4.1.dev1}/GameSentenceMiner/model.py +0 -0
  16. {gamesentenceminer-2.4.0 → gamesentenceminer-2.4.1.dev1}/GameSentenceMiner/notification.py +0 -0
  17. {gamesentenceminer-2.4.0 → gamesentenceminer-2.4.1.dev1}/GameSentenceMiner/obs.py +0 -0
  18. {gamesentenceminer-2.4.0 → gamesentenceminer-2.4.1.dev1}/GameSentenceMiner/package_updater.py +0 -0
  19. {gamesentenceminer-2.4.0 → gamesentenceminer-2.4.1.dev1}/GameSentenceMiner/util.py +0 -0
  20. {gamesentenceminer-2.4.0 → gamesentenceminer-2.4.1.dev1}/GameSentenceMiner/utility_gui.py +0 -0
  21. {gamesentenceminer-2.4.0 → gamesentenceminer-2.4.1.dev1}/GameSentenceMiner/vad/__init__.py +0 -0
  22. {gamesentenceminer-2.4.0 → gamesentenceminer-2.4.1.dev1}/GameSentenceMiner/vad/silero_trim.py +0 -0
  23. {gamesentenceminer-2.4.0 → gamesentenceminer-2.4.1.dev1}/GameSentenceMiner/vad/vosk_helper.py +0 -0
  24. {gamesentenceminer-2.4.0 → gamesentenceminer-2.4.1.dev1}/GameSentenceMiner/vad/whisper_helper.py +0 -0
  25. {gamesentenceminer-2.4.0 → gamesentenceminer-2.4.1.dev1}/GameSentenceMiner.egg-info/SOURCES.txt +0 -0
  26. {gamesentenceminer-2.4.0 → gamesentenceminer-2.4.1.dev1}/GameSentenceMiner.egg-info/dependency_links.txt +0 -0
  27. {gamesentenceminer-2.4.0 → gamesentenceminer-2.4.1.dev1}/GameSentenceMiner.egg-info/entry_points.txt +0 -0
  28. {gamesentenceminer-2.4.0 → gamesentenceminer-2.4.1.dev1}/GameSentenceMiner.egg-info/requires.txt +0 -0
  29. {gamesentenceminer-2.4.0 → gamesentenceminer-2.4.1.dev1}/GameSentenceMiner.egg-info/top_level.txt +0 -0
  30. {gamesentenceminer-2.4.0 → gamesentenceminer-2.4.1.dev1}/LICENSE +0 -0
  31. {gamesentenceminer-2.4.0 → gamesentenceminer-2.4.1.dev1}/setup.cfg +0 -0
@@ -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.
@@ -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.
@@ -38,6 +38,12 @@ There are settings in GSM that may help accomodate for a poor hook, but if you e
38
38
 
39
39
  ## 1. Installing and Running the Script
40
40
 
41
+ ### New Way as of 2.4.0
42
+
43
+ Grab the latest Installer or Zip from [Releases](https://github.com/bpwhelan/GameSentenceMiner/releases), and then either run the installer or run GameSentenceMiner.exe.
44
+
45
+ ### Old Way - Will still work for the forseeable future
46
+
41
47
  https://pypi.org/project/GameSentenceMiner/
42
48
 
43
49
  Python + pip needs to be installed, make sure you install 3.11 or higher, since older versions may not be supported.
@@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"
7
7
 
8
8
  [project]
9
9
  name = "GameSentenceMiner"
10
- version = "2.4.0"
10
+ version = "2.4.1.dev1"
11
11
  description = "A tool for mining sentences from games. Update: Multi-Line Mining! Fixed!"
12
12
  readme = "README.md"
13
13
  requires-python = ">=3.10"