-
Notifications
You must be signed in to change notification settings - Fork 56
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
Reading the Metadata #3
Comments
Hi @Vyrill, I will have a look at this, thank you for reporting it. |
Hi @Vyrill I just released 0.3.1 that will allow you to parse caption files containing metadata headers. Please let me know if you have any further issues. Thanks. |
Hi @Vyrill looking at the file you are trying to parse it looks like the issue is with the Style metadata header as it contains multiple lines (not allowed based on the specifications). I implemented this based on the following specs from 2015: Metadata headers are not part of the latest specs for WebVTT format. Anyway I will make the changes to be able to read captions files with this kind of headers. |
Hi @Vyrill I released 0.3.2 that will fix the issue with metadata headers in more than one line. Thanks. |
Hi @glut23 , Thank you so much ! This now works just perfect ! |
Hi, I have a few WebVtt files which have metadata at the beginning which looks like this
WEBVTT Kind: captions Language: en Style: ::cue(c.colorCCCCCC) { color: rgb(204,204,204); } ::cue(c.colorE5E5E5) { color: rgb(229,229,229); } ##
caption.start throws an error : webvtt.exceptions.MalformedCaptionError: Caption missing timeframe in line 2.
I have too many files so cannot edit them manually to read the file. Can you please help ?
The text was updated successfully, but these errors were encountered: