From 5f26c73521c50309a7041ecb81c6aa4fc3281f39 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 16 Feb 2018 10:11:12 +0100 Subject: Import videos in the correct order --- server/tools/import-youtube.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server') 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 () { const res2 = await login(program['url'], client, user) accessToken = res2.body.access_token - const options = [ '-j', '--flat-playlist' ] + const options = [ '-j', '--flat-playlist', '--playlist-reverse' ] youtubeDL.getInfo(program['youtubeUrl'], options, processOptions, async (err, info) => { if (err) throw err -- cgit v1.2.3