aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-10-31 11:45:08 +0100
committerChocobozzz <me@florianbigard.com>2022-10-31 13:30:39 +0100
commit6740b6428be1c27e9ad728eede7c428d1e2e9f47 (patch)
treecf5c919cecd3b1a961002fb7ceee72ff3d9aa478 /server/controllers
parentf746622be455309112d858105992b2fa0b01af90 (diff)
downloadPeerTube-6740b6428be1c27e9ad728eede7c428d1e2e9f47.tar.gz
PeerTube-6740b6428be1c27e9ad728eede7c428d1e2e9f47.tar.zst
PeerTube-6740b6428be1c27e9ad728eede7c428d1e2e9f47.zip
Fix transcoding failure when importing a video
Diffstat (limited to 'server/controllers')
-rw-r--r--server/controllers/api/videos/import.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/api/videos/import.ts b/server/controllers/api/videos/import.ts
index 9d7b0260b..6a50aaf4e 100644
--- a/server/controllers/api/videos/import.ts
+++ b/server/controllers/api/videos/import.ts
@@ -3,7 +3,7 @@ import { move, readFile } from 'fs-extra'
3import { decode } from 'magnet-uri' 3import { decode } from 'magnet-uri'
4import parseTorrent, { Instance } from 'parse-torrent' 4import parseTorrent, { Instance } from 'parse-torrent'
5import { join } from 'path' 5import { join } from 'path'
6import { buildYoutubeDLImport, buildVideoFromImport, insertFromImportIntoDB, YoutubeDlImportError } from '@server/lib/video-import' 6import { buildYoutubeDLImport, buildVideoFromImport, insertFromImportIntoDB, YoutubeDlImportError } from '@server/lib/video-pre-import'
7import { MThumbnail, MVideoThumbnail } from '@server/types/models' 7import { MThumbnail, MVideoThumbnail } from '@server/types/models'
8import { HttpStatusCode, ServerErrorCode, ThumbnailType, VideoImportCreate, VideoImportPayload, VideoImportState } from '@shared/models' 8import { HttpStatusCode, ServerErrorCode, ThumbnailType, VideoImportCreate, VideoImportPayload, VideoImportState } from '@shared/models'
9import { auditLoggerFactory, getAuditIdFromRes, VideoImportAuditView } from '../../../helpers/audit-logger' 9import { auditLoggerFactory, getAuditIdFromRes, VideoImportAuditView } from '../../../helpers/audit-logger'