diff --git a/seplis_play_server/transcoders/hls.py b/seplis_play_server/transcoders/hls.py index 53a29d2..20ca12e 100644 --- a/seplis_play_server/transcoders/hls.py +++ b/seplis_play_server/transcoders/hls.py @@ -49,7 +49,6 @@ async def wait_for_media(self): self.transcode_folder, self.settings.start_segment or 0, ) - video.sessions[self.settings.session].start_segment = self.settings.start_segment or 0 @classmethod async def wait_for_segment(cls, transcode_folder: str, segment: str | int): diff --git a/seplis_play_server/transcoders/video.py b/seplis_play_server/transcoders/video.py index ba4074f..b4ad53b 100644 --- a/seplis_play_server/transcoders/video.py +++ b/seplis_play_server/transcoders/video.py @@ -59,7 +59,6 @@ class Video_color(BaseModel): class Session_model(BaseModel): process: asyncio.subprocess.Process transcode_folder: Optional[str] | None = None - start_segment: Optional[int] | None = None call_later: asyncio.TimerHandle model_config = ConfigDict(