fix: subtitle bug
This commit is contained in:
@@ -875,6 +875,7 @@ class YouTubeCaptionProvider {
|
|||||||
logger.info(
|
logger.info(
|
||||||
`Youtube Provider: Appending ${subtitlesForThisChunk.length} subtitles from chunk ${chunkNum}.`
|
`Youtube Provider: Appending ${subtitlesForThisChunk.length} subtitles from chunk ${chunkNum}.`
|
||||||
);
|
);
|
||||||
|
this.#subtitles.push(subtitlesForThisChunk);
|
||||||
this.#managerInstance.appendSubtitles(subtitlesForThisChunk);
|
this.#managerInstance.appendSubtitles(subtitlesForThisChunk);
|
||||||
} else {
|
} else {
|
||||||
logger.info(`Youtube Provider: Chunk ${chunkNum} no subtitles.`);
|
logger.info(`Youtube Provider: Chunk ${chunkNum} no subtitles.`);
|
||||||
|
|||||||
Reference in New Issue
Block a user