Formatting and stuff

This commit is contained in:
2024-02-23 11:07:50 +01:00
parent 8951837d04
commit d7fa8945d1
13 changed files with 28 additions and 35 deletions

View File

@@ -39,7 +39,7 @@ class VideoBackgroundEngine(BaseBackgroundEngine):
)
]
def get_background(self) -> mp.VideoClip:
def get_background(self):
background = mp.VideoFileClip(f"{self.background_video}", audio=False)
background_max_start = background.duration - self.ctx.duration
if background_max_start < 0: