GameSentenceMiner 2.3.6__py3-none-any.whl → 2.3.7__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/config_gui.py +2 -2
- GameSentenceMiner/gametext.py +4 -1
- {GameSentenceMiner-2.3.6.dist-info → GameSentenceMiner-2.3.7.dist-info}/METADATA +1 -1
- {GameSentenceMiner-2.3.6.dist-info → GameSentenceMiner-2.3.7.dist-info}/RECORD +7 -7
- {GameSentenceMiner-2.3.6.dist-info → GameSentenceMiner-2.3.7.dist-info}/WHEEL +0 -0
- {GameSentenceMiner-2.3.6.dist-info → GameSentenceMiner-2.3.7.dist-info}/entry_points.txt +0 -0
- {GameSentenceMiner-2.3.6.dist-info → GameSentenceMiner-2.3.7.dist-info}/top_level.txt +0 -0
GameSentenceMiner/config_gui.py
CHANGED
@@ -496,12 +496,12 @@ class ConfigApp:
|
|
496
496
|
row=self.current_row,
|
497
497
|
column=2)
|
498
498
|
|
499
|
-
ttk.Label(anki_frame, text="Previous
|
499
|
+
ttk.Label(anki_frame, text="Previous VoiceLine SS Field:").grid(row=self.current_row, column=0, sticky='W')
|
500
500
|
self.previous_image_field = ttk.Entry(anki_frame)
|
501
501
|
self.previous_image_field.insert(0, self.settings.anki.previous_image_field)
|
502
502
|
self.previous_image_field.grid(row=self.current_row, column=1)
|
503
503
|
self.add_label_and_increment_row(anki_frame,
|
504
|
-
"Field in Anki for the
|
504
|
+
"Field in Anki for the screenshot of previous line. If Empty, will not populate",
|
505
505
|
row=self.current_row,
|
506
506
|
column=2)
|
507
507
|
|
GameSentenceMiner/gametext.py
CHANGED
@@ -16,6 +16,7 @@ from GameSentenceMiner.util import remove_html_tags
|
|
16
16
|
from difflib import SequenceMatcher
|
17
17
|
|
18
18
|
|
19
|
+
initial_time = datetime.now()
|
19
20
|
current_line = ''
|
20
21
|
current_line_after_regex = ''
|
21
22
|
current_line_time = datetime.now()
|
@@ -191,4 +192,6 @@ def get_line_and_future_lines(last_note):
|
|
191
192
|
|
192
193
|
|
193
194
|
def get_time_of_line(line):
|
194
|
-
|
195
|
+
if line and line in line_history:
|
196
|
+
return line_history[line]
|
197
|
+
return initial_time
|
@@ -1,9 +1,9 @@
|
|
1
1
|
GameSentenceMiner/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
2
|
GameSentenceMiner/anki.py,sha256=bg_RKaY8bT19hfQQ6BJoPp5G634-xDqTryONLUoK6Z8,10691
|
3
|
-
GameSentenceMiner/config_gui.py,sha256
|
3
|
+
GameSentenceMiner/config_gui.py,sha256=-Jq3ZZZxsLyIaXkQtYVvDeiH3PC4PnrYHxh_wD22174,54270
|
4
4
|
GameSentenceMiner/configuration.py,sha256=_nS-9sWNn97Zdv2V4Ypt_hf4PL6oLa5oK2Z7rWrqEmc,14405
|
5
5
|
GameSentenceMiner/ffmpeg.py,sha256=RN3XlO5uPmD-76wvMZi1CIom0aTq8aNZSZUjLacfJbo,10977
|
6
|
-
GameSentenceMiner/gametext.py,sha256=
|
6
|
+
GameSentenceMiner/gametext.py,sha256=qK9GA9Mn081Ih6kGmunvDhG8HZ5x1RhEco81F2sK4g4,6658
|
7
7
|
GameSentenceMiner/gsm.py,sha256=pUKOiJxxSHBqBR3v3U8YiHdwqMxAwvz5keDAGUKGQQA,18388
|
8
8
|
GameSentenceMiner/model.py,sha256=oh8VVT8T1UKekbmP6MGNgQ8jIuQ_7Rg4GPzDCn2kJo8,1999
|
9
9
|
GameSentenceMiner/notification.py,sha256=WBaQWoPNhW4XqdPBUmxPBgjk0ngzH_4v9zMQ-XQAKC8,2010
|
@@ -18,8 +18,8 @@ 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.3.
|
22
|
-
GameSentenceMiner-2.3.
|
23
|
-
GameSentenceMiner-2.3.
|
24
|
-
GameSentenceMiner-2.3.
|
25
|
-
GameSentenceMiner-2.3.
|
21
|
+
GameSentenceMiner-2.3.7.dist-info/METADATA,sha256=1O5tVlKwbajXxt2uSpqH1_yOgt8zHMWo4DTyFKKc3iI,10120
|
22
|
+
GameSentenceMiner-2.3.7.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
23
|
+
GameSentenceMiner-2.3.7.dist-info/entry_points.txt,sha256=2APEP25DbfjSxGeHtwBstMH8mulVhLkqF_b9bqzU6vQ,65
|
24
|
+
GameSentenceMiner-2.3.7.dist-info/top_level.txt,sha256=V1hUY6xVSyUEohb0uDoN4UIE6rUZ_JYx8yMyPGX4PgQ,18
|
25
|
+
GameSentenceMiner-2.3.7.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|