fix extra "1" appearing on chapters
This commit is contained in:
parent
4b6e4db7cd
commit
f550be4306
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ function parse(claim: StreamClaim) {
|
|||
const splitIndex = line.indexOf(' ');
|
||||
if (splitIndex >= 0 && splitIndex < line.length - 2) {
|
||||
const ts = line.substring(0, splitIndex);
|
||||
const label = line.substring(splitIndex) + 1;
|
||||
const label = line.substring(splitIndex + 1);
|
||||
|
||||
if (ts && label && isValidTimestamp(ts)) {
|
||||
const seconds = timestampStrToSeconds(ts);
|
||||
|
|
Loading…
Reference in a new issue