Associating Video files when downloaded.

This commit is contained in:
Roland 2022-10-25 08:15:35 -06:00
parent 76a9c0d88c
commit d575b087b3
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93
3 changed files with 17 additions and 1 deletions

View file

@ -289,10 +289,13 @@ class Video(ModelHelper, Base):
if poster_file:
poster_file.do_index()
poster_file.associated = True
if caption_file:
caption_file.do_index()
caption_file.associated = True
if info_json_file:
info_json_file.do_index()
info_json_file.associated = True
session.flush([i for i in files])