1
0
Fork 0

Use typescript paths in cli scripts too

This commit is contained in:
Chocobozzz 2019-10-21 17:13:07 +02:00
parent 576ddf645f
commit 2aaa1a3fdc
No known key found for this signature in database
GPG key ID: 583A612D890159BE
23 changed files with 82 additions and 9 deletions

View file

@ -1,3 +1,6 @@
import { registerTSPaths } from '../server/helpers/register-ts-paths'
registerTSPaths()
import { VIDEO_TRANSCODING_FPS } from '../server/initializers/constants'
import { getDurationFromVideoFile, getVideoFileBitrate, getVideoFileFPS, getVideoFileResolution } from '../server/helpers/ffmpeg-utils'
import { getMaxBitrate } from '../shared/models/videos'