sync before reencoding cuz reencoding can take a long time

master
Aevann 2024-10-29 20:57:00 +03:00
parent a4beb8a3a8
commit 8f4e46f1d2
1 changed files with 1 additions and 1 deletions

View File

@ -236,7 +236,7 @@ def process_video(file, v, post=None):
posterurl = SITE_FULL_IMAGES + name posterurl = SITE_FULL_IMAGES + name
media.posterurl = posterurl media.posterurl = posterurl
if SITE == 'watchpeopledie.tv' and not is_reencoding: if SITE == 'watchpeopledie.tv':
gevent.spawn(rclone_copy, new) gevent.spawn(rclone_copy, new)
return url, posterurl, name return url, posterurl, name