GameSentenceMiner 2.5.7__py3-none-any.whl → 2.5.8__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 +8 -4
- {gamesentenceminer-2.5.7.dist-info → gamesentenceminer-2.5.8.dist-info}/METADATA +1 -1
- {gamesentenceminer-2.5.7.dist-info → gamesentenceminer-2.5.8.dist-info}/RECORD +7 -7
- {gamesentenceminer-2.5.7.dist-info → gamesentenceminer-2.5.8.dist-info}/WHEEL +1 -1
- {gamesentenceminer-2.5.7.dist-info → gamesentenceminer-2.5.8.dist-info}/entry_points.txt +0 -0
- {gamesentenceminer-2.5.7.dist-info → gamesentenceminer-2.5.8.dist-info}/licenses/LICENSE +0 -0
- {gamesentenceminer-2.5.7.dist-info → gamesentenceminer-2.5.8.dist-info}/top_level.txt +0 -0
GameSentenceMiner/gsm.py
CHANGED
@@ -222,14 +222,18 @@ def play_video_in_external(line, filepath):
|
|
222
222
|
p.wait()
|
223
223
|
os.remove(fp)
|
224
224
|
|
225
|
-
command = [get_config().advanced.video_player_path
|
225
|
+
command = [get_config().advanced.video_player_path]
|
226
226
|
|
227
227
|
start, _, _ = get_video_timings(filepath, line)
|
228
228
|
|
229
229
|
print(start)
|
230
230
|
|
231
|
-
if
|
232
|
-
command.
|
231
|
+
if "vlc" in get_config().advanced.video_player_path:
|
232
|
+
command.append("--start-time")
|
233
|
+
else:
|
234
|
+
command.append("--start")
|
235
|
+
|
236
|
+
command.extend([convert_to_vlc_seconds(start), os.path.normpath(filepath)])
|
233
237
|
|
234
238
|
try:
|
235
239
|
proc = subprocess.Popen(command)
|
@@ -319,7 +323,7 @@ def open_multimine():
|
|
319
323
|
get_utility_window().show()
|
320
324
|
|
321
325
|
def play_most_recent_audio():
|
322
|
-
if get_config().advanced.audio_player_path or get_config().advanced.video_player_path and len(gametext.line_history) > 0:
|
326
|
+
if get_config().advanced.audio_player_path or get_config().advanced.video_player_path and len(gametext.line_history.values) > 0:
|
323
327
|
get_utility_window().line_for_audio = gametext.line_history.values[-1]
|
324
328
|
obs.save_replay_buffer()
|
325
329
|
else:
|
@@ -4,7 +4,7 @@ GameSentenceMiner/config_gui.py,sha256=cLKVliB0X61WNduNisOmaEtqSr1mvTO6ZAiv-t2jW
|
|
4
4
|
GameSentenceMiner/configuration.py,sha256=-b1wW6EkkOFwF1No1uZLD2nPUV5gfBIzG5a8_ykqyUI,16691
|
5
5
|
GameSentenceMiner/ffmpeg.py,sha256=Bvkk0TMHtoQkpEYQls48CbC4TB0-FzrnqQhRNg36hVk,11831
|
6
6
|
GameSentenceMiner/gametext.py,sha256=LORVdE2WEo1CDI8gonc7qxrhbS4KFKXFQVKjhlkpLbc,7368
|
7
|
-
GameSentenceMiner/gsm.py,sha256=
|
7
|
+
GameSentenceMiner/gsm.py,sha256=H12yXMfeIQk_tTEi---tQmyMacI35HJaQBuviXpoH94,24283
|
8
8
|
GameSentenceMiner/model.py,sha256=bZm-2vkIw4gQCGLB02eDoTtO1Ymb_dnHk0VDJDFO3y8,5228
|
9
9
|
GameSentenceMiner/notification.py,sha256=2d8_8DUxImeC1zY-V4c_PZw1zbvvGZ6KiAnPaSmH9G0,2592
|
10
10
|
GameSentenceMiner/obs.py,sha256=N7XoPSzLk9rHi4sgsG_LS2dN06MrqwN2mpSHfjONTjE,7368
|
@@ -21,9 +21,9 @@ GameSentenceMiner/vad/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3h
|
|
21
21
|
GameSentenceMiner/vad/silero_trim.py,sha256=-thDIZLuTLra3YBj7WR16Z6JeDgSpge2YuahprBvD8I,1585
|
22
22
|
GameSentenceMiner/vad/vosk_helper.py,sha256=BI_mg_qyrjNbuEJjXSUDoV0FWEtQtEOAPmrrNixnZ_8,5974
|
23
23
|
GameSentenceMiner/vad/whisper_helper.py,sha256=OF4J8TPPoKPJR1uFwrWAZ2Q7v0HJkVvNGmF8l1tACX0,3447
|
24
|
-
gamesentenceminer-2.5.
|
25
|
-
gamesentenceminer-2.5.
|
26
|
-
gamesentenceminer-2.5.
|
27
|
-
gamesentenceminer-2.5.
|
28
|
-
gamesentenceminer-2.5.
|
29
|
-
gamesentenceminer-2.5.
|
24
|
+
gamesentenceminer-2.5.8.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
25
|
+
gamesentenceminer-2.5.8.dist-info/METADATA,sha256=wz8fYy9k_SurmsPaB2yUC8wVJD8tZuYhh-0ntKxDICA,5435
|
26
|
+
gamesentenceminer-2.5.8.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
27
|
+
gamesentenceminer-2.5.8.dist-info/entry_points.txt,sha256=2APEP25DbfjSxGeHtwBstMH8mulVhLkqF_b9bqzU6vQ,65
|
28
|
+
gamesentenceminer-2.5.8.dist-info/top_level.txt,sha256=V1hUY6xVSyUEohb0uDoN4UIE6rUZ_JYx8yMyPGX4PgQ,18
|
29
|
+
gamesentenceminer-2.5.8.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|