]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Add log to regenerate thumbnails
authorChocobozzz <me@florianbigard.com>
Mon, 29 Mar 2021 15:23:48 +0000 (17:23 +0200)
committerChocobozzz <me@florianbigard.com>
Mon, 29 Mar 2021 15:25:11 +0000 (17:25 +0200)
scripts/regenerate-thumbnails.ts

index b0071efe000b72f02391a990de21e2b7bf433c87..04c6e2b74367b27aab512cd0c9183e3f84840f20 100644 (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()