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

Bug while translating webvtt subtitle #432

Open
jhj0517 opened this issue Dec 19, 2024 · 1 comment
Open

Bug while translating webvtt subtitle #432

jhj0517 opened this issue Dec 19, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@jhj0517
Copy link
Owner

jhj0517 commented Dec 19, 2024

    minutes, rest = times
    ^^^^^^^^^^^^^
ValueError: not enough values to unpack (expected 2, got 1)
@jhj0517 jhj0517 added the bug Something isn't working label Dec 19, 2024
@jhj0517 jhj0517 self-assigned this Dec 19, 2024
@jhj0517
Copy link
Owner Author

jhj0517 commented Dec 20, 2024

WEBVTT can have 2 types of format:
(1)

WEBVTT

00:00:00.500 --> 00:00:02.000
You've got

(2)

WEBVTT

1
00:00:00.500 --> 00:00:02.000
You've got

I thought only case (1) was possible and problem happens in case (2)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant