1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-03 01:39:37 +02:00

Add ability to customize frames to analyze

This commit is contained in:
Chocobozzz 2023-11-08 10:16:50 +01:00
parent 9880d2adf5
commit 2bc4d26b94
No known key found for this signature in database
GPG key ID: 583A612D890159BE
7 changed files with 34 additions and 3 deletions

View file

@ -344,6 +344,11 @@ const CONFIG = {
VOD: parseDurationToMs(config.get<string>('remote_runners.stalled_jobs.vod'))
}
},
THUMBNAILS: {
GENERATION_FROM_VIDEO: {
FRAMES_TO_ANALYZE: config.get<number>('thumbnails.generation_from_video.frames_to_analyze')
}
},
ADMIN: {
get EMAIL () { return config.get<string>('admin.email') }
},