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

Fix import tests

This commit is contained in:
Chocobozzz 2021-02-18 14:06:12 +01:00
parent 8efc27bf14
commit 53c06121a4
No known key found for this signature in database
GPG key ID: 583A612D890159BE
5 changed files with 10 additions and 7 deletions

View file

@ -74,7 +74,7 @@ function createVideoMiniatureFromUrl (options: {
? existingThumbnail.fileUrl
: null
// If the thumbnail URL did not change and has a unique filename (introduced in 3.2), avoid thumbnail processing
// If the thumbnail URL did not change and has a unique filename (introduced in 3.1), avoid thumbnail processing
const thumbnailUrlChanged = !existingUrl || existingUrl !== downloadUrl || downloadUrl.endsWith(`${video.uuid}.jpg`)
// Do not change the thumbnail filename if the file did not change