mirror of https://github.com/Chocobozzz/PeerTube
Add log to regenerate thumbnails
parent
5328532adf
commit
6794d1005f
|
@ -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()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue