diff options
author | Chocobozzz <me@florianbigard.com> | 2021-03-29 17:23:48 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-03-29 17:25:11 +0200 |
commit | 6794d1005ff1c1766223e7d45af3feab3cdb0785 (patch) | |
tree | b1801066058399a53465a2407fc2b23f99c8ac10 /scripts/regenerate-thumbnails.ts | |
parent | 5328532adf3658ffaa8a06520edda97073099c87 (diff) | |
download | PeerTube-6794d1005ff1c1766223e7d45af3feab3cdb0785.tar.gz PeerTube-6794d1005ff1c1766223e7d45af3feab3cdb0785.tar.zst PeerTube-6794d1005ff1c1766223e7d45af3feab3cdb0785.zip |
Add log to regenerate thumbnails
Diffstat (limited to 'scripts/regenerate-thumbnails.ts')
-rw-r--r-- | scripts/regenerate-thumbnails.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/regenerate-thumbnails.ts b/scripts/regenerate-thumbnails.ts index b0071efe0..04c6e2b74 100644 --- a/scripts/regenerate-thumbnails.ts +++ b/scripts/regenerate-thumbnails.ts | |||
@@ -32,6 +32,8 @@ async function run () { | |||
32 | async function processVideo (videoArg: MVideo) { | 32 | async function processVideo (videoArg: MVideo) { |
33 | const video = await VideoModel.loadWithFiles(videoArg.id) | 33 | const video = await VideoModel.loadWithFiles(videoArg.id) |
34 | 34 | ||
35 | console.log('Processing video %s.', video.name) | ||
36 | |||
35 | const thumbnail = video.getMiniature() | 37 | const thumbnail = video.getMiniature() |
36 | const preview = video.getPreview() | 38 | const preview = video.getPreview() |
37 | 39 | ||