Add wait_for_premiere function

This commit is contained in:
tcely 2025-05-16 06:54:42 -04:00 committed by GitHub
parent 9de2728f35
commit 9ee28befe0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -40,6 +40,7 @@ from ._migrations import (
media_file_storage, get_media_thumb_path, get_media_file_path, media_file_storage, get_media_thumb_path, get_media_file_path,
) )
from ._private import _srctype_dict, _nfo_element from ._private import _srctype_dict, _nfo_element
from .media__tasks import wait_for_premiere
from .source import Source from .source import Source
@ -1219,3 +1220,7 @@ class Media(models.Model):
except OSError as e: except OSError as e:
pass pass
# add imported functions
Media.wait_for_premiere = wait_for_premiere