GameSentenceMiner 2.8.19__py3-none-any.whl → 2.8.21__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.
@@ -318,7 +318,7 @@ class ConfigApp:
318
318
  self.add_label_and_increment_row(general_frame, "Enable to allow GSM to see clipboard for text and line timing.",
319
319
  row=self.current_row, column=2)
320
320
 
321
- ttk.Label(general_frame, text="Allow Both:").grid(row=self.current_row, column=0, sticky='W')
321
+ ttk.Label(general_frame, text="Allow Both Simultaneously:").grid(row=self.current_row, column=0, sticky='W')
322
322
  self.use_both_clipboard_and_websocket = tk.BooleanVar(value=self.settings.general.use_both_clipboard_and_websocket)
323
323
  ttk.Checkbutton(general_frame, variable=self.use_both_clipboard_and_websocket).grid(row=self.current_row, column=1,
324
324
  sticky='W')
GameSentenceMiner/gsm.py CHANGED
@@ -173,7 +173,7 @@ class VideoToAudioHandler(FileSystemEventHandler):
173
173
 
174
174
 
175
175
  @staticmethod
176
- def get_audio(game_line, next_line_time, video_path, anki_card_creation_time,temporary=False):
176
+ def get_audio(game_line, next_line_time, video_path, anki_card_creation_time=None, temporary=False):
177
177
  trimmed_audio = get_audio_and_trim(video_path, game_line, next_line_time, anki_card_creation_time)
178
178
  if temporary:
179
179
  return trimmed_audio
@@ -192,9 +192,9 @@ class VideoToAudioHandler(FileSystemEventHandler):
192
192
  logger.info("No voice activity detected, using full audio.")
193
193
  vad_trimmed_audio = trimmed_audio
194
194
  should_update_audio = True
195
- if get_config().audio.audio_ffmpeg_reencode_options and os.path.exists(vad_trimmed_audio):
195
+ if get_config().audio.ffmpeg_reencode_options and os.path.exists(vad_trimmed_audio):
196
196
  ffmpeg.reencode_file_with_user_config(vad_trimmed_audio, final_audio_output,
197
- get_config().audio.audio_ffmpeg_reencode_options)
197
+ get_config().audio.ffmpeg_reencode_options)
198
198
  elif os.path.exists(vad_trimmed_audio):
199
199
  shutil.move(vad_trimmed_audio, final_audio_output)
200
200
  return final_audio_output, should_update_audio, vad_trimmed_audio, vad_beginning, vad_end
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: GameSentenceMiner
3
- Version: 2.8.19
3
+ Version: 2.8.21
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
@@ -1,11 +1,11 @@
1
1
  GameSentenceMiner/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  GameSentenceMiner/anki.py,sha256=OCLgZa-iEp93v-R0zKFkDCjule_EAoP5rIqtnMHLnOw,14226
3
- GameSentenceMiner/config_gui.py,sha256=ed6t2-QtRc36T7DW47Vt4rs3o_wEJmrpuxt1PdZaK28,74192
3
+ GameSentenceMiner/config_gui.py,sha256=R7pUJDXCP7unGtBpuUjL0-8iWvY6LXRCYckHIrwkvF8,74207
4
4
  GameSentenceMiner/configuration.py,sha256=ndnxuQbLfhMruHld-yK3UjWt1DcXlVhaLRZD8l6SJ0E,22562
5
5
  GameSentenceMiner/electron_config.py,sha256=dGcPYCISPehXubYSzsDuI2Gl092MYK0u3bTnkL9Jh1Y,9787
6
6
  GameSentenceMiner/ffmpeg.py,sha256=lLZ9v8_h5wfenLC6W36Ikt0Q7HQrChxsZ6lPk2umXjI,14658
7
7
  GameSentenceMiner/gametext.py,sha256=pyIjMxMgKAAIyKzvtq8FV-zdg1ETRf7GVgkE19_2-B4,5513
8
- GameSentenceMiner/gsm.py,sha256=faiikIfT5jjlEfqLqsa-8anxLJmaLRMGnw5NnnWc9hA,25394
8
+ GameSentenceMiner/gsm.py,sha256=B-84l3mCT4N1jidelXI0N8L9VPVdWcjoYl2NiS_xI_c,25388
9
9
  GameSentenceMiner/model.py,sha256=JdnkT4VoPOXmOpRgFdvERZ09c9wLN6tUJxdrKlGZcqo,5305
10
10
  GameSentenceMiner/notification.py,sha256=FY39ChSRK0Y8TQ6lBGsLnpZUFPtFpSy2tweeXVoV7kc,2809
11
11
  GameSentenceMiner/obs.py,sha256=GPlsFrcv1eYelXyJfpspGK0iZK5AXPkoFsIGdB7eJrk,10002
@@ -51,9 +51,9 @@ GameSentenceMiner/web/static/web-app-manifest-512x512.png,sha256=wyqgCWCrLEUxSRX
51
51
  GameSentenceMiner/web/templates/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
52
52
  GameSentenceMiner/web/templates/text_replacements.html,sha256=tV5c8mCaWSt_vKuUpbdbLAzXZ3ATZeDvQ9PnnAfqY0M,8598
53
53
  GameSentenceMiner/web/templates/utility.html,sha256=NUp4Yjs6_j7YeqsM2rcF0LzwS6nXSBUWJDl-k2E8BbM,16270
54
- gamesentenceminer-2.8.19.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
55
- gamesentenceminer-2.8.19.dist-info/METADATA,sha256=KMBwjHmsMpj9m9z623LbHo_hvaMSrfsI1x4vASWY1zo,5933
56
- gamesentenceminer-2.8.19.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
57
- gamesentenceminer-2.8.19.dist-info/entry_points.txt,sha256=2APEP25DbfjSxGeHtwBstMH8mulVhLkqF_b9bqzU6vQ,65
58
- gamesentenceminer-2.8.19.dist-info/top_level.txt,sha256=V1hUY6xVSyUEohb0uDoN4UIE6rUZ_JYx8yMyPGX4PgQ,18
59
- gamesentenceminer-2.8.19.dist-info/RECORD,,
54
+ gamesentenceminer-2.8.21.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
55
+ gamesentenceminer-2.8.21.dist-info/METADATA,sha256=oJPLMWnxFwqKXbAQ0B6ToWMNWBMV3HS2oqSdAx2LTR8,5933
56
+ gamesentenceminer-2.8.21.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
57
+ gamesentenceminer-2.8.21.dist-info/entry_points.txt,sha256=2APEP25DbfjSxGeHtwBstMH8mulVhLkqF_b9bqzU6vQ,65
58
+ gamesentenceminer-2.8.21.dist-info/top_level.txt,sha256=V1hUY6xVSyUEohb0uDoN4UIE6rUZ_JYx8yMyPGX4PgQ,18
59
+ gamesentenceminer-2.8.21.dist-info/RECORD,,