aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/create-import-video-file-job.ts2
-rwxr-xr-xscripts/create-transcoding-job.ts2
-rwxr-xr-xscripts/parse-log.ts2
-rwxr-xr-xscripts/plugin/install.ts2
-rwxr-xr-xscripts/plugin/uninstall.ts2
-rw-r--r--scripts/print-transcode-command.ts2
-rw-r--r--scripts/regenerate-thumbnails.ts2
-rwxr-xr-xscripts/reset-password.ts2
8 files changed, 8 insertions, 8 deletions
diff --git a/scripts/create-import-video-file-job.ts b/scripts/create-import-video-file-job.ts
index 094544e05..a3a35bc10 100644
--- a/scripts/create-import-video-file-job.ts
+++ b/scripts/create-import-video-file-job.ts
@@ -1,7 +1,7 @@
1import { registerTSPaths } from '../server/helpers/register-ts-paths' 1import { registerTSPaths } from '../server/helpers/register-ts-paths'
2registerTSPaths() 2registerTSPaths()
3 3
4import * as program from 'commander' 4import { program } from 'commander'
5import { resolve } from 'path' 5import { resolve } from 'path'
6import { VideoModel } from '../server/models/video/video' 6import { VideoModel } from '../server/models/video/video'
7import { initDatabaseModels } from '../server/initializers/database' 7import { initDatabaseModels } from '../server/initializers/database'
diff --git a/scripts/create-transcoding-job.ts b/scripts/create-transcoding-job.ts
index 56a5f4938..65e65b616 100755
--- a/scripts/create-transcoding-job.ts
+++ b/scripts/create-transcoding-job.ts
@@ -1,7 +1,7 @@
1import { registerTSPaths } from '../server/helpers/register-ts-paths' 1import { registerTSPaths } from '../server/helpers/register-ts-paths'
2registerTSPaths() 2registerTSPaths()
3 3
4import * as program from 'commander' 4import { program } from 'commander'
5import { VideoModel } from '../server/models/video/video' 5import { VideoModel } from '../server/models/video/video'
6import { initDatabaseModels } from '../server/initializers/database' 6import { initDatabaseModels } from '../server/initializers/database'
7import { JobQueue } from '../server/lib/job-queue' 7import { JobQueue } from '../server/lib/job-queue'
diff --git a/scripts/parse-log.ts b/scripts/parse-log.ts
index 1617e4446..fca288dbd 100755
--- a/scripts/parse-log.ts
+++ b/scripts/parse-log.ts
@@ -1,7 +1,7 @@
1import { registerTSPaths } from '../server/helpers/register-ts-paths' 1import { registerTSPaths } from '../server/helpers/register-ts-paths'
2registerTSPaths() 2registerTSPaths()
3 3
4import * as program from 'commander' 4import { program } from 'commander'
5import { createReadStream, readdir } from 'fs-extra' 5import { createReadStream, readdir } from 'fs-extra'
6import { join } from 'path' 6import { join } from 'path'
7import { createInterface } from 'readline' 7import { createInterface } from 'readline'
diff --git a/scripts/plugin/install.ts b/scripts/plugin/install.ts
index 2ea8a658b..de045c2d2 100755
--- a/scripts/plugin/install.ts
+++ b/scripts/plugin/install.ts
@@ -2,7 +2,7 @@ import { registerTSPaths } from '../../server/helpers/register-ts-paths'
2registerTSPaths() 2registerTSPaths()
3 3
4import { initDatabaseModels } from '../../server/initializers/database' 4import { initDatabaseModels } from '../../server/initializers/database'
5import * as program from 'commander' 5import { program } from 'commander'
6import { PluginManager } from '../../server/lib/plugins/plugin-manager' 6import { PluginManager } from '../../server/lib/plugins/plugin-manager'
7import { isAbsolute } from 'path' 7import { isAbsolute } from 'path'
8 8
diff --git a/scripts/plugin/uninstall.ts b/scripts/plugin/uninstall.ts
index 8710b1750..1e14cc18f 100755
--- a/scripts/plugin/uninstall.ts
+++ b/scripts/plugin/uninstall.ts
@@ -2,7 +2,7 @@ import { registerTSPaths } from '../../server/helpers/register-ts-paths'
2registerTSPaths() 2registerTSPaths()
3 3
4import { initDatabaseModels } from '../../server/initializers/database' 4import { initDatabaseModels } from '../../server/initializers/database'
5import * as program from 'commander' 5import { program } from 'commander'
6import { PluginManager } from '../../server/lib/plugins/plugin-manager' 6import { PluginManager } from '../../server/lib/plugins/plugin-manager'
7 7
8program 8program
diff --git a/scripts/print-transcode-command.ts b/scripts/print-transcode-command.ts
index 00ac9ab6c..d83363215 100644
--- a/scripts/print-transcode-command.ts
+++ b/scripts/print-transcode-command.ts
@@ -1,7 +1,7 @@
1import { registerTSPaths } from '../server/helpers/register-ts-paths' 1import { registerTSPaths } from '../server/helpers/register-ts-paths'
2registerTSPaths() 2registerTSPaths()
3 3
4import * as program from 'commander' 4import { program } from 'commander'
5import * as ffmpeg from 'fluent-ffmpeg' 5import * as ffmpeg from 'fluent-ffmpeg'
6import { buildx264VODCommand, runCommand, TranscodeOptions } from '@server/helpers/ffmpeg-utils' 6import { buildx264VODCommand, runCommand, TranscodeOptions } from '@server/helpers/ffmpeg-utils'
7import { exit } from 'process' 7import { exit } from 'process'
diff --git a/scripts/regenerate-thumbnails.ts b/scripts/regenerate-thumbnails.ts
index b95343c0b..078f3830b 100644
--- a/scripts/regenerate-thumbnails.ts
+++ b/scripts/regenerate-thumbnails.ts
@@ -2,7 +2,7 @@ import { registerTSPaths } from '../server/helpers/register-ts-paths'
2registerTSPaths() 2registerTSPaths()
3 3
4import * as Bluebird from 'bluebird' 4import * as Bluebird from 'bluebird'
5import * as program from 'commander' 5import { program } from 'commander'
6import { pathExists, remove } from 'fs-extra' 6import { pathExists, remove } from 'fs-extra'
7import { generateImageFilename, processImage } from '@server/helpers/image-utils' 7import { generateImageFilename, processImage } from '@server/helpers/image-utils'
8import { THUMBNAILS_SIZE } from '@server/initializers/constants' 8import { THUMBNAILS_SIZE } from '@server/initializers/constants'
diff --git a/scripts/reset-password.ts b/scripts/reset-password.ts
index 7c1a64a3f..4c45396d4 100755
--- a/scripts/reset-password.ts
+++ b/scripts/reset-password.ts
@@ -1,7 +1,7 @@
1import { registerTSPaths } from '../server/helpers/register-ts-paths' 1import { registerTSPaths } from '../server/helpers/register-ts-paths'
2registerTSPaths() 2registerTSPaths()
3 3
4import * as program from 'commander' 4import { program } from 'commander'
5import { initDatabaseModels } from '../server/initializers/database' 5import { initDatabaseModels } from '../server/initializers/database'
6import { UserModel } from '../server/models/user/user' 6import { UserModel } from '../server/models/user/user'
7import { isUserPasswordValid } from '../server/helpers/custom-validators/users' 7import { isUserPasswordValid } from '../server/helpers/custom-validators/users'