Tags: sachac/subed
Tags
Load word data from Youtube VTTs * subed/subed-word-data.el (subed-word-data--extract-words-from-youtube-vtt): New. (subed-word-data--load): Update documentation. (subed-word-data-load-from-file): Load from Youtube VTTs as well. (subed-word-data-load-from-string): Load from Youtube VTTs as well. (subed-word-data-load-maybe): Check if data was loaded.
v1.2.18: VTT: Ignore timestamp-like text at the start of subtitle cues * subed/subed-vtt.el (subed--validate-format): Navigate by subtitle ID so that we skip timestamp-like text at the start of cues. Related to #80 . * tests/test-subed-vtt.el ("subed-vtt"): Add test.
v1.2.17: Merge without including the current subtitle * subed/subed-common.el (merge-region): Merge without including the current subtitle if the point is at the beginning. (subed-create-file): Update docstring. (subtitle-start-pos): * tests/test-subed-tsv.el ("subed-tsv"): Add test for merging and subtitle-start-pos. * tests/test-subed-srt.el ("subed-srt"): Add test for subtitle-start-pos. * tests/test-subed-vtt.el ("subed-vtt"): Add test for subtitle-start-pos.
1.2.16: Changed behavior: Merging now combines lines I kept running into this with short subtitles. If you prefer it the other way (keeping line breaks), let me know and we can make it an option. * subed/subed-srt.el (subed--merge-with-next): Add a space instead of a newline. * subed/subed-vtt.el (subed--merge-with-next): Add a space instead of a newline. * tests/test-subed-common.el ("subed-common"): Update merge test. * tests/test-subed-srt.el ("subed-srt"): Update merge test. * tests/test-subed-vtt.el ("subed-vtt"): Update merge test.
PreviousNext