diff options
Diffstat (limited to 'server/tools/import-videos.ts')
-rw-r--r-- | server/tools/import-videos.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/server/tools/import-videos.ts b/server/tools/import-videos.ts index 27d0732a6..809d69e4c 100644 --- a/server/tools/import-videos.ts +++ b/server/tools/import-videos.ts | |||
@@ -1,3 +1,6 @@ | |||
1 | // FIXME: https://github.com/nodejs/node/pull/16853 | ||
2 | require('tls').DEFAULT_ECDH_CURVE = 'auto' | ||
3 | |||
1 | import * as program from 'commander' | 4 | import * as program from 'commander' |
2 | import { join } from 'path' | 5 | import { join } from 'path' |
3 | import * as youtubeDL from 'youtube-dl' | 6 | import * as youtubeDL from 'youtube-dl' |
@@ -144,7 +147,7 @@ async function uploadVideoOnPeerTube (videoInfo: any, videoPath: string, languag | |||
144 | language, | 147 | language, |
145 | nsfw: isNSFW(videoInfo), | 148 | nsfw: isNSFW(videoInfo), |
146 | commentsEnabled: true, | 149 | commentsEnabled: true, |
147 | description: videoInfo.description, | 150 | description: videoInfo.description || undefined, |
148 | support: undefined, | 151 | support: undefined, |
149 | tags, | 152 | tags, |
150 | privacy: VideoPrivacy.PUBLIC, | 153 | privacy: VideoPrivacy.PUBLIC, |