aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tools
diff options
context:
space:
mode:
Diffstat (limited to 'server/tools')
-rw-r--r--server/tools/import-youtube.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/tools/import-youtube.ts b/server/tools/import-youtube.ts
index 325e9f7ba..12e996e5b 100644
--- a/server/tools/import-youtube.ts
+++ b/server/tools/import-youtube.ts
@@ -120,7 +120,8 @@ async function uploadVideoOnPeerTube (videoInfo: any, videoPath: string) {
120 tags: videoInfo.tags.slice(0, 5), 120 tags: videoInfo.tags.slice(0, 5),
121 privacy: VideoPrivacy.PUBLIC, 121 privacy: VideoPrivacy.PUBLIC,
122 fixture: videoPath, 122 fixture: videoPath,
123 thumbnailfile 123 thumbnailfile,
124 previewfile: thumbnailfile
124 } 125 }
125 126
126 console.log('\nUploading on PeerTube video "%s".', videoAttributes.name) 127 console.log('\nUploading on PeerTube video "%s".', videoAttributes.name)