reuse upload if possible
This commit is contained in:
parent
0c098e768c
commit
56e7b010bf
2 changed files with 4 additions and 3 deletions
|
@ -1394,6 +1394,7 @@
|
||||||
"video": {
|
"video": {
|
||||||
"formats": ["mp4"],
|
"formats": ["mp4"],
|
||||||
"previewRatio": 1.3333333333,
|
"previewRatio": 1.3333333333,
|
||||||
"resolutions": [360, 720]
|
"resolutions": [720],
|
||||||
|
"reuseUpload": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
4
utils.py
4
utils.py
|
@ -80,7 +80,7 @@ def load_vimeo(item):
|
||||||
stream.make_timeline()
|
stream.make_timeline()
|
||||||
if resolution == 720 and len(parts) == 1:
|
if resolution == 720 and len(parts) == 1:
|
||||||
add_subtitles(item, media, tmp)
|
add_subtitles(item, media, tmp)
|
||||||
item.update_timeline()
|
|
||||||
item.save()
|
|
||||||
os.chdir(cdir)
|
os.chdir(cdir)
|
||||||
shutil.rmtree(tmp)
|
shutil.rmtree(tmp)
|
||||||
|
item.update_timeline()
|
||||||
|
item.save()
|
||||||
|
|
Loading…
Reference in a new issue