Add avatar to prune script
This commit is contained in:
parent
5bb2eb5660
commit
e2600d8b26
11 changed files with 326 additions and 47 deletions
|
@ -29,7 +29,7 @@ run()
|
|||
async function run () {
|
||||
await initDatabaseModels(true)
|
||||
|
||||
const video = await VideoModel.loadByUUIDWithFile(program['video'])
|
||||
const video = await VideoModel.loadByUUID(program['video'])
|
||||
if (!video) throw new Error('Video not found.')
|
||||
|
||||
const dataInput: VideoTranscodingPayload = program.resolution !== undefined
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue