diff options
author | Chocobozzz <me@florianbigard.com> | 2020-03-10 16:37:25 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-03-10 16:37:25 +0100 |
commit | ac940348cdb6ea6d86a80e37b464b754826cb9ad (patch) | |
tree | 2e6768319d827f59cf26cc58ac3eab4524f7771e /server/lib/video-transcoding.ts | |
parent | 482fa503e545e00252e25eee7b3e0f7d421cf9d4 (diff) | |
download | PeerTube-ac940348cdb6ea6d86a80e37b464b754826cb9ad.tar.gz PeerTube-ac940348cdb6ea6d86a80e37b464b754826cb9ad.tar.zst PeerTube-ac940348cdb6ea6d86a80e37b464b754826cb9ad.zip |
Fix lint
Diffstat (limited to 'server/lib/video-transcoding.ts')
-rw-r--r-- | server/lib/video-transcoding.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/server/lib/video-transcoding.ts b/server/lib/video-transcoding.ts index bde4c2633..ab1e917f3 100644 --- a/server/lib/video-transcoding.ts +++ b/server/lib/video-transcoding.ts | |||
@@ -2,8 +2,8 @@ import { HLS_STREAMING_PLAYLIST_DIRECTORY, P2P_MEDIA_LOADER_PEER_VERSION, WEBSER | |||
2 | import { basename, extname as extnameUtil, join } from 'path' | 2 | import { basename, extname as extnameUtil, join } from 'path' |
3 | import { | 3 | import { |
4 | canDoQuickTranscode, | 4 | canDoQuickTranscode, |
5 | getMetadataFromFile, | ||
6 | getDurationFromVideoFile, | 5 | getDurationFromVideoFile, |
6 | getMetadataFromFile, | ||
7 | getVideoFileFPS, | 7 | getVideoFileFPS, |
8 | transcode, | 8 | transcode, |
9 | TranscodeOptions, | 9 | TranscodeOptions, |
@@ -20,7 +20,6 @@ import { CONFIG } from '../initializers/config' | |||
20 | import { MStreamingPlaylistFilesVideo, MVideoFile, MVideoWithAllFiles, MVideoWithFile } from '@server/typings/models' | 20 | import { MStreamingPlaylistFilesVideo, MVideoFile, MVideoWithAllFiles, MVideoWithFile } from '@server/typings/models' |
21 | import { createTorrentAndSetInfoHash } from '@server/helpers/webtorrent' | 21 | import { createTorrentAndSetInfoHash } from '@server/helpers/webtorrent' |
22 | import { generateVideoStreamingPlaylistName, getVideoFilename, getVideoFilePath } from './video-paths' | 22 | import { generateVideoStreamingPlaylistName, getVideoFilename, getVideoFilePath } from './video-paths' |
23 | import { extractVideo } from './videos' | ||
24 | 23 | ||
25 | /** | 24 | /** |
26 | * Optimize the original video file and replace it. The resolution is not changed. | 25 | * Optimize the original video file and replace it. The resolution is not changed. |