aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/tools/import-youtube.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tools/import-youtube.ts b/server/tools/import-youtube.ts
index ab91afbc0..82f48d8f7 100644
--- a/server/tools/import-youtube.ts
+++ b/server/tools/import-youtube.ts
@@ -48,7 +48,7 @@ async function run () {
48 const res2 = await login(program['url'], client, user) 48 const res2 = await login(program['url'], client, user)
49 accessToken = res2.body.access_token 49 accessToken = res2.body.access_token
50 50
51 const options = [ '-j', '--flat-playlist' ] 51 const options = [ '-j', '--flat-playlist', '--playlist-reverse' ]
52 youtubeDL.getInfo(program['youtubeUrl'], options, processOptions, async (err, info) => { 52 youtubeDL.getInfo(program['youtubeUrl'], options, processOptions, async (err, info) => {
53 if (err) throw err 53 if (err) throw err
54 54