aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/thumbnail.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-02-18 11:07:08 +0100
committerChocobozzz <chocobozzz@cpy.re>2021-02-18 13:38:09 +0100
commitb3d5cb92b100406df98e5cd1f54eff9cd2078b1c (patch)
tree234c9b0b799424c1599af0dee27e84e4ad7240ff /server/lib/thumbnail.ts
parentd9a2a03196275065c28f4a0b7d4d7bc9992d77a1 (diff)
downloadPeerTube-b3d5cb92b100406df98e5cd1f54eff9cd2078b1c.tar.gz
PeerTube-b3d5cb92b100406df98e5cd1f54eff9cd2078b1c.tar.zst
PeerTube-b3d5cb92b100406df98e5cd1f54eff9cd2078b1c.zip
Add ability to update torrents cache in client
Diffstat (limited to 'server/lib/thumbnail.ts')
-rw-r--r--server/lib/thumbnail.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/server/lib/thumbnail.ts b/server/lib/thumbnail.ts
index 49317df28..e37aefc85 100644
--- a/server/lib/thumbnail.ts
+++ b/server/lib/thumbnail.ts
@@ -1,6 +1,5 @@
1import { copy } from 'fs-extra'
2import { join } from 'path' 1import { join } from 'path'
3import { logger } from '@server/helpers/logger' 2
4import { ThumbnailType } from '../../shared/models/videos/thumbnail.type' 3import { ThumbnailType } from '../../shared/models/videos/thumbnail.type'
5import { generateImageFromVideoFile } from '../helpers/ffmpeg-utils' 4import { generateImageFromVideoFile } from '../helpers/ffmpeg-utils'
6import { processImage } from '../helpers/image-utils' 5import { processImage } from '../helpers/image-utils'