diff options
author | Chocobozzz <me@florianbigard.com> | 2021-02-18 11:07:08 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2021-02-18 13:38:09 +0100 |
commit | b3d5cb92b100406df98e5cd1f54eff9cd2078b1c (patch) | |
tree | 234c9b0b799424c1599af0dee27e84e4ad7240ff /server/lib/thumbnail.ts | |
parent | d9a2a03196275065c28f4a0b7d4d7bc9992d77a1 (diff) | |
download | PeerTube-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.ts | 3 |
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 @@ | |||
1 | import { copy } from 'fs-extra' | ||
2 | import { join } from 'path' | 1 | import { join } from 'path' |
3 | import { logger } from '@server/helpers/logger' | 2 | |
4 | import { ThumbnailType } from '../../shared/models/videos/thumbnail.type' | 3 | import { ThumbnailType } from '../../shared/models/videos/thumbnail.type' |
5 | import { generateImageFromVideoFile } from '../helpers/ffmpeg-utils' | 4 | import { generateImageFromVideoFile } from '../helpers/ffmpeg-utils' |
6 | import { processImage } from '../helpers/image-utils' | 5 | import { processImage } from '../helpers/image-utils' |