pycaption 2.2.9__tar.gz → 2.2.10__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.
- {pycaption-2.2.9/pycaption.egg-info → pycaption-2.2.10}/PKG-INFO +1 -1
- {pycaption-2.2.9 → pycaption-2.2.10}/pycaption/scc/__init__.py +1 -0
- {pycaption-2.2.9 → pycaption-2.2.10/pycaption.egg-info}/PKG-INFO +1 -1
- {pycaption-2.2.9 → pycaption-2.2.10}/setup.py +1 -1
- {pycaption-2.2.9 → pycaption-2.2.10}/tests/fixtures/dfxp.py +2 -2
- {pycaption-2.2.9 → pycaption-2.2.10}/tests/test_scc.py +2 -2
- {pycaption-2.2.9 → pycaption-2.2.10}/LICENSE +0 -0
- {pycaption-2.2.9 → pycaption-2.2.10}/MANIFEST.in +0 -0
- {pycaption-2.2.9 → pycaption-2.2.10}/README.rst +0 -0
- {pycaption-2.2.9 → pycaption-2.2.10}/pycaption/__init__.py +0 -0
- {pycaption-2.2.9 → pycaption-2.2.10}/pycaption/base.py +0 -0
- {pycaption-2.2.9 → pycaption-2.2.10}/pycaption/dfxp/__init__.py +0 -0
- {pycaption-2.2.9 → pycaption-2.2.10}/pycaption/dfxp/base.py +0 -0
- {pycaption-2.2.9 → pycaption-2.2.10}/pycaption/dfxp/extras.py +0 -0
- {pycaption-2.2.9 → pycaption-2.2.10}/pycaption/english.pickle +0 -0
- {pycaption-2.2.9 → pycaption-2.2.10}/pycaption/exceptions.py +0 -0
- {pycaption-2.2.9 → pycaption-2.2.10}/pycaption/geometry.py +0 -0
- {pycaption-2.2.9 → pycaption-2.2.10}/pycaption/microdvd.py +0 -0
- {pycaption-2.2.9 → pycaption-2.2.10}/pycaption/sami.py +0 -0
- {pycaption-2.2.9 → pycaption-2.2.10}/pycaption/scc/constants.py +0 -0
- {pycaption-2.2.9 → pycaption-2.2.10}/pycaption/scc/specialized_collections.py +0 -0
- {pycaption-2.2.9 → pycaption-2.2.10}/pycaption/scc/state_machines.py +0 -0
- {pycaption-2.2.9 → pycaption-2.2.10}/pycaption/scc/translator.py +0 -0
- {pycaption-2.2.9 → pycaption-2.2.10}/pycaption/srt.py +0 -0
- {pycaption-2.2.9 → pycaption-2.2.10}/pycaption/transcript.py +0 -0
- {pycaption-2.2.9 → pycaption-2.2.10}/pycaption/utils.py +0 -0
- {pycaption-2.2.9 → pycaption-2.2.10}/pycaption/webvtt.py +0 -0
- {pycaption-2.2.9 → pycaption-2.2.10}/pycaption.egg-info/SOURCES.txt +0 -0
- {pycaption-2.2.9 → pycaption-2.2.10}/pycaption.egg-info/dependency_links.txt +0 -0
- {pycaption-2.2.9 → pycaption-2.2.10}/pycaption.egg-info/requires.txt +0 -0
- {pycaption-2.2.9 → pycaption-2.2.10}/pycaption.egg-info/top_level.txt +0 -0
- {pycaption-2.2.9 → pycaption-2.2.10}/setup.cfg +0 -0
- {pycaption-2.2.9 → pycaption-2.2.10}/tests/__init__.py +0 -0
- {pycaption-2.2.9 → pycaption-2.2.10}/tests/conftest.py +0 -0
- {pycaption-2.2.9 → pycaption-2.2.10}/tests/fixtures/__init__.py +0 -0
- {pycaption-2.2.9 → pycaption-2.2.10}/tests/fixtures/microdvd.py +0 -0
- {pycaption-2.2.9 → pycaption-2.2.10}/tests/fixtures/sami.py +0 -0
- {pycaption-2.2.9 → pycaption-2.2.10}/tests/fixtures/scc.py +0 -0
- {pycaption-2.2.9 → pycaption-2.2.10}/tests/fixtures/srt.py +0 -0
- {pycaption-2.2.9 → pycaption-2.2.10}/tests/fixtures/translated_scc.py +0 -0
- {pycaption-2.2.9 → pycaption-2.2.10}/tests/fixtures/webvtt.py +0 -0
- {pycaption-2.2.9 → pycaption-2.2.10}/tests/mixins.py +0 -0
- {pycaption-2.2.9 → pycaption-2.2.10}/tests/test_base.py +0 -0
- {pycaption-2.2.9 → pycaption-2.2.10}/tests/test_dfxp.py +0 -0
- {pycaption-2.2.9 → pycaption-2.2.10}/tests/test_dfxp_conversion.py +0 -0
- {pycaption-2.2.9 → pycaption-2.2.10}/tests/test_dfxp_extras.py +0 -0
- {pycaption-2.2.9 → pycaption-2.2.10}/tests/test_functions.py +0 -0
- {pycaption-2.2.9 → pycaption-2.2.10}/tests/test_geometry.py +0 -0
- {pycaption-2.2.9 → pycaption-2.2.10}/tests/test_microdvd.py +0 -0
- {pycaption-2.2.9 → pycaption-2.2.10}/tests/test_microdvd_conversion.py +0 -0
- {pycaption-2.2.9 → pycaption-2.2.10}/tests/test_sami.py +0 -0
- {pycaption-2.2.9 → pycaption-2.2.10}/tests/test_sami_conversion.py +0 -0
- {pycaption-2.2.9 → pycaption-2.2.10}/tests/test_scc_conversion.py +0 -0
- {pycaption-2.2.9 → pycaption-2.2.10}/tests/test_scc_translator.py +0 -0
- {pycaption-2.2.9 → pycaption-2.2.10}/tests/test_srt.py +0 -0
- {pycaption-2.2.9 → pycaption-2.2.10}/tests/test_srt_conversion.py +0 -0
- {pycaption-2.2.9 → pycaption-2.2.10}/tests/test_webvtt.py +0 -0
- {pycaption-2.2.9 → pycaption-2.2.10}/tests/test_webvtt_conversion.py +0 -0
|
@@ -361,6 +361,7 @@ class SCCReader(BaseReader):
|
|
|
361
361
|
doubled_types = doubled_types or word in SPECIAL_CHARS or word in EXTENDED_CHARS
|
|
362
362
|
|
|
363
363
|
if doubled_types and word == self.last_command:
|
|
364
|
+
self.last_command = ''
|
|
364
365
|
return True
|
|
365
366
|
# Fix for the <position> <tab offset> <position> <tab offset>
|
|
366
367
|
# repetition
|
|
@@ -920,10 +920,10 @@ def sample_dfxp_from_scc_output():
|
|
|
920
920
|
<region tts:displayAlign="before" tts:origin="40% 53%" tts:textAlign="left" xml:id="r5"/>
|
|
921
921
|
<region tts:displayAlign="before" tts:origin="70% 17%" tts:textAlign="left" xml:id="r6"/>
|
|
922
922
|
<region tts:displayAlign="before" tts:origin="20% 35%" tts:textAlign="left" xml:id="r7"/>
|
|
923
|
-
<region tts:displayAlign="before" tts:origin="
|
|
923
|
+
<region tts:displayAlign="before" tts:origin="20% 83%" tts:textAlign="left" xml:id="r8"/>
|
|
924
924
|
<region tts:displayAlign="before" tts:origin="70% 11%" tts:textAlign="left" xml:id="r9"/>
|
|
925
925
|
<region tts:displayAlign="before" tts:origin="40% 41%" tts:textAlign="left" xml:id="r10"/>
|
|
926
|
-
<region tts:displayAlign="before" tts:origin="
|
|
926
|
+
<region tts:displayAlign="before" tts:origin="20% 71%" tts:textAlign="left" xml:id="r11"/>
|
|
927
927
|
</layout>
|
|
928
928
|
</head>
|
|
929
929
|
<body>
|
|
@@ -77,10 +77,10 @@ class TestSCCReader(ReaderTestingMixIn):
|
|
|
77
77
|
((40.0, UnitEnum.PERCENT), (53.0, UnitEnum.PERCENT)),
|
|
78
78
|
((70.0, UnitEnum.PERCENT), (17.0, UnitEnum.PERCENT)),
|
|
79
79
|
((20.0, UnitEnum.PERCENT), (35.0, UnitEnum.PERCENT)),
|
|
80
|
-
((
|
|
80
|
+
((20.0, UnitEnum.PERCENT), (83.0, UnitEnum.PERCENT)),
|
|
81
81
|
((70.0, UnitEnum.PERCENT), (11.0, UnitEnum.PERCENT)),
|
|
82
82
|
((40.0, UnitEnum.PERCENT), (41.0, UnitEnum.PERCENT)),
|
|
83
|
-
((
|
|
83
|
+
((20.0, UnitEnum.PERCENT), (71.0, UnitEnum.PERCENT))
|
|
84
84
|
]
|
|
85
85
|
actual_positioning = [
|
|
86
86
|
caption_.layout_info.origin.serialized()
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|