Skip to content

Commit

Permalink
Start segment saving is not needed anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaserlang committed Dec 14, 2023
1 parent f7c3ac7 commit 1d8d7e8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion seplis_play_server/transcoders/hls.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
1 change: 0 additions & 1 deletion seplis_play_server/transcoders/video.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 1d8d7e8

Please sign in to comment.