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

Invalid JSON #89

Open
aolney opened this issue Apr 29, 2019 · 3 comments
Open

Invalid JSON #89

aolney opened this issue Apr 29, 2019 · 3 comments

Comments

@aolney
Copy link

aolney commented Apr 29, 2019

A few small changes appear to be needed:

  1. escape double quotes in subtitle
  2. add commas between subtitle objects

Example:

"subtitles": [
{
"subtitle" : "<font size=:exclamation:"24":exclamation:>Announcer: AND NOW A FIRESIDE CHAT",
"edited_text" : "AND NOW A FIRESIDE CHAT",
"start" : "3103",
"end" : "5606",
"words" : [
{
"word" : "AND",
"recognised" : "0",
"start" : "3103",
"end" : "3133",
"duration" : "30"
},
{
"word" : "NOW",
"recognised" : "1",
"start" : "3133",
"end" : "3693",
"duration" : "560"
},
{
"word" : "A",
"recognised" : "1",
"start" : "3703",
"end" : "3793",
"duration" : "90"
},
{
"word" : "FIRESIDE",
"recognised" : "1",
"start" : "3803",
"end" : "4313",
"duration" : "510"
},
{
"word" : "CHAT",
"recognised" : "1",
"start" : "4323",
"end" : "4603",
"duration" : "280"
}
],
"phonemes" : [
]
}:exclamation: {

@saurabhshri
Copy link
Owner

Hi, thanks for catching this! :) Would you like to send a PR?

@aolney
Copy link
Author

aolney commented Oct 27, 2019

Unfortunately I blew my code away later in the summer to free up disk space. So to do this would require complete recreation.

@saurabhshri
Copy link
Owner

No issues @aolney , thanks for reporting this!

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

No branches or pull requests

2 participants