projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f000931
)
Import videos in the correct order
author
Chocobozzz
<me@florianbigard.com>
Fri, 16 Feb 2018 09:11:12 +0000
(10:11 +0100)
committer
Chocobozzz
<me@florianbigard.com>
Fri, 16 Feb 2018 09:11:12 +0000
(10:11 +0100)
server/tools/import-youtube.ts
patch
|
blob
|
history
diff --git
a/server/tools/import-youtube.ts
b/server/tools/import-youtube.ts
index ab91afbc060a263932bce94d6f6109a966da0679..82f48d8f7164addf8aa235e4f033552b234377fe 100644
(file)
--- 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