mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 19:42:24 +02:00
Fix transcoding failure when importing a video
This commit is contained in:
parent
f746622be4
commit
6740b6428b
5 changed files with 153 additions and 118 deletions
|
@ -3,7 +3,7 @@ import { move, readFile } from 'fs-extra'
|
|||
import { decode } from 'magnet-uri'
|
||||
import parseTorrent, { Instance } from 'parse-torrent'
|
||||
import { join } from 'path'
|
||||
import { buildYoutubeDLImport, buildVideoFromImport, insertFromImportIntoDB, YoutubeDlImportError } from '@server/lib/video-import'
|
||||
import { buildYoutubeDLImport, buildVideoFromImport, insertFromImportIntoDB, YoutubeDlImportError } from '@server/lib/video-pre-import'
|
||||
import { MThumbnail, MVideoThumbnail } from '@server/types/models'
|
||||
import { HttpStatusCode, ServerErrorCode, ThumbnailType, VideoImportCreate, VideoImportPayload, VideoImportState } from '@shared/models'
|
||||
import { auditLoggerFactory, getAuditIdFromRes, VideoImportAuditView } from '../../../helpers/audit-logger'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue