Add log to regenerate thumbnails

pull/3909/head
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
1 changed files with 2 additions and 0 deletions

View File

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