mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-03 09:49:20 +02:00
Don't create pendingTranscription twice
This commit is contained in:
parent
91302ea12a
commit
2d26eff129
3 changed files with 19 additions and 3 deletions
|
@ -139,7 +139,7 @@ export async function onTranscriptionEnded (options: {
|
|||
const { video, language, vttPath, lTags: customLTags = [] } = options
|
||||
|
||||
if (!isVideoCaptionLanguageValid(language)) {
|
||||
logger.warn(`Invalid transcription language for video ${video.uuid}`, this.lTags(video.uuid))
|
||||
logger.warn(`Invalid transcription language for video ${video.uuid}`, lTags(video.uuid))
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue