diff options
4 files changed, 4 insertions, 5 deletions
diff --git a/packages/peertube-runner/server/process/shared/process-studio.ts b/packages/peertube-runner/server/process/shared/process-studio.ts index afd9347fe..7bb209e80 100644 --- a/packages/peertube-runner/server/process/shared/process-studio.ts +++ b/packages/peertube-runner/server/process/shared/process-studio.ts | |||
@@ -1,7 +1,7 @@ | |||
1 | import { remove } from 'fs-extra' | 1 | import { remove } from 'fs-extra' |
2 | import { pick } from 'lodash' | ||
3 | import { logger } from 'packages/peertube-runner/shared' | 2 | import { logger } from 'packages/peertube-runner/shared' |
4 | import { join } from 'path' | 3 | import { join } from 'path' |
4 | import { pick } from '@shared/core-utils' | ||
5 | import { buildUUID } from '@shared/extra-utils' | 5 | import { buildUUID } from '@shared/extra-utils' |
6 | import { | 6 | import { |
7 | RunnerJobStudioTranscodingPayload, | 7 | RunnerJobStudioTranscodingPayload, |
diff --git a/server/lib/runners/job-handlers/vod-audio-merge-transcoding-job-handler.ts b/server/lib/runners/job-handlers/vod-audio-merge-transcoding-job-handler.ts index 905007db9..137a94535 100644 --- a/server/lib/runners/job-handlers/vod-audio-merge-transcoding-job-handler.ts +++ b/server/lib/runners/job-handlers/vod-audio-merge-transcoding-job-handler.ts | |||
@@ -1,8 +1,8 @@ | |||
1 | import { pick } from 'lodash' | ||
2 | import { logger } from '@server/helpers/logger' | 1 | import { logger } from '@server/helpers/logger' |
3 | import { VideoJobInfoModel } from '@server/models/video/video-job-info' | 2 | import { VideoJobInfoModel } from '@server/models/video/video-job-info' |
4 | import { MVideo } from '@server/types/models' | 3 | import { MVideo } from '@server/types/models' |
5 | import { MRunnerJob } from '@server/types/models/runners' | 4 | import { MRunnerJob } from '@server/types/models/runners' |
5 | import { pick } from '@shared/core-utils' | ||
6 | import { buildUUID } from '@shared/extra-utils' | 6 | import { buildUUID } from '@shared/extra-utils' |
7 | import { getVideoStreamDuration } from '@shared/ffmpeg' | 7 | import { getVideoStreamDuration } from '@shared/ffmpeg' |
8 | import { | 8 | import { |
diff --git a/server/lib/runners/job-handlers/vod-web-video-transcoding-job-handler.ts b/server/lib/runners/job-handlers/vod-web-video-transcoding-job-handler.ts index 663d3306e..9ee8ab88e 100644 --- a/server/lib/runners/job-handlers/vod-web-video-transcoding-job-handler.ts +++ b/server/lib/runners/job-handlers/vod-web-video-transcoding-job-handler.ts | |||
@@ -1,8 +1,8 @@ | |||
1 | import { pick } from 'lodash' | ||
2 | import { logger } from '@server/helpers/logger' | 1 | import { logger } from '@server/helpers/logger' |
3 | import { VideoJobInfoModel } from '@server/models/video/video-job-info' | 2 | import { VideoJobInfoModel } from '@server/models/video/video-job-info' |
4 | import { MVideo } from '@server/types/models' | 3 | import { MVideo } from '@server/types/models' |
5 | import { MRunnerJob } from '@server/types/models/runners' | 4 | import { MRunnerJob } from '@server/types/models/runners' |
5 | import { pick } from '@shared/core-utils' | ||
6 | import { buildUUID } from '@shared/extra-utils' | 6 | import { buildUUID } from '@shared/extra-utils' |
7 | import { | 7 | import { |
8 | RunnerJobUpdatePayload, | 8 | RunnerJobUpdatePayload, |
diff --git a/server/models/video/formatter/video-activity-pub-format.ts b/server/models/video/formatter/video-activity-pub-format.ts index a5b3e9ca6..694c66c33 100644 --- a/server/models/video/formatter/video-activity-pub-format.ts +++ b/server/models/video/formatter/video-activity-pub-format.ts | |||
@@ -1,5 +1,4 @@ | |||
1 | 1 | import { isArray } from '@server/helpers/custom-validators/misc' | |
2 | import { isArray } from 'lodash' | ||
3 | import { generateMagnetUri } from '@server/helpers/webtorrent' | 2 | import { generateMagnetUri } from '@server/helpers/webtorrent' |
4 | import { getActivityStreamDuration } from '@server/lib/activitypub/activity' | 3 | import { getActivityStreamDuration } from '@server/lib/activitypub/activity' |
5 | import { getLocalVideoFileMetadataUrl } from '@server/lib/video-urls' | 4 | import { getLocalVideoFileMetadataUrl } from '@server/lib/video-urls' |