1
0
Fork 0

Add log to regenerate thumbnails

This commit is contained in:
Chocobozzz 2021-03-29 17:23:48 +02:00
parent 5328532adf
commit 6794d1005f
No known key found for this signature in database
GPG key ID: 583A612D890159BE

View file

@ -32,6 +32,8 @@ async function run () {
async function processVideo (videoArg: MVideo) {
const video = await VideoModel.loadWithFiles(videoArg.id)
console.log('Processing video %s.', video.name)
const thumbnail = video.getMiniature()
const preview = video.getPreview()