mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 10:19:35 +02:00
esModuleInterop to true
This commit is contained in:
parent
40e7ed0714
commit
41fb13c330
208 changed files with 444 additions and 425 deletions
|
@ -1,10 +1,10 @@
|
|||
import { createReadStream, createWriteStream, move, remove } from 'fs-extra'
|
||||
import { join } from 'path'
|
||||
import * as srt2vtt from 'srt-to-vtt'
|
||||
import srt2vtt from 'srt-to-vtt'
|
||||
import { Transform } from 'stream'
|
||||
import { MVideoCaption } from '@server/types/models'
|
||||
import { CONFIG } from '../initializers/config'
|
||||
import { pipelinePromise } from './core-utils'
|
||||
import { Transform } from 'stream'
|
||||
|
||||
async function moveAndProcessCaptionFile (physicalFile: { filename: string, path: string }, videoCaption: MVideoCaption) {
|
||||
const videoCaptionsDir = CONFIG.STORAGE.CAPTIONS_DIR
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue