Improve create import file job
Fix federation of .ogv videos
This commit is contained in:
parent
0138af9237
commit
28be89161a
7 changed files with 48 additions and 34 deletions
|
@ -27,6 +27,7 @@ async function run () {
|
|||
|
||||
const video = await VideoModel.loadByUUID(program['video'])
|
||||
if (!video) throw new Error('Video not found.')
|
||||
if (video.isOwned() === false) throw new Error('Cannot import files of a non owned video.')
|
||||
|
||||
const dataInput = {
|
||||
videoUUID: video.uuid,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue