aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/create-move-video-storage-job.ts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/create-move-video-storage-job.ts')
-rw-r--r--scripts/create-move-video-storage-job.ts11
1 files changed, 4 insertions, 7 deletions
diff --git a/scripts/create-move-video-storage-job.ts b/scripts/create-move-video-storage-job.ts
index 90c84b1d7..7465c1ce0 100644
--- a/scripts/create-move-video-storage-job.ts
+++ b/scripts/create-move-video-storage-job.ts
@@ -1,13 +1,10 @@
1import { registerTSPaths } from '../server/helpers/register-ts-paths'
2registerTSPaths()
3
4import { program } from 'commander' 1import { program } from 'commander'
5import { VideoModel } from '@server/models/video/video' 2import { CONFIG } from '@server/initializers/config'
6import { initDatabaseModels } from '@server/initializers/database' 3import { initDatabaseModels } from '@server/initializers/database'
7import { VideoState, VideoStorage } from '@shared/models'
8import { moveToExternalStorageState } from '@server/lib/video-state'
9import { JobQueue } from '@server/lib/job-queue' 4import { JobQueue } from '@server/lib/job-queue'
10import { CONFIG } from '@server/initializers/config' 5import { moveToExternalStorageState } from '@server/lib/video-state'
6import { VideoModel } from '@server/models/video/video'
7import { VideoState, VideoStorage } from '@shared/models'
11 8
12program 9program
13 .description('Move videos to another storage.') 10 .description('Move videos to another storage.')