Add Media.download_finished function

This commit is contained in:
tcely 2025-05-16 08:18:21 -04:00 committed by GitHub
parent 54b7e261f1
commit f77a657322
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -41,7 +41,7 @@ from ._migrations import (
)
from ._private import _srctype_dict, _nfo_element
from .media__tasks import (
download_checklist, wait_for_premiere,
download_checklist, download_finished, wait_for_premiere,
)
from .source import Source
@ -1225,5 +1225,6 @@ class Media(models.Model):
# add imported functions
Media.download_checklist = download_checklist
Media.download_finished = download_finished
Media.wait_for_premiere = wait_for_premiere