Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix slice_segments #36 #70

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

t-hiroishi
Copy link

@t-hiroishi t-hiroishi commented Aug 22, 2024

Fix #36

The IndexError occurs when the end_in_seconds of the last caption is divisible by the seconds value (the number of seconds for each segment).

captions.vtt

WEBVTT

00:00.000 --> 00:09.000
It's OK.

00:09.000 --> 00:10.000
Fix me!

CLI

$ webvtt segment captions.vtt --output output/path

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

IndexError: list index out of range?
1 participant