Skip to content

Commit

Permalink
Removed the start time and segment start from the urls for the segmen…
Browse files Browse the repository at this point in the history
…ts that is not needed
  • Loading branch information
thomaserlang committed Dec 16, 2023
1 parent c18fad7 commit 0bbd570
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions seplis_play_server/transcoders/hls.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ def get_segment_path(transcode_folder: str, segment: int):

def generate_media_playlist(self):
settings_dict = self.settings.to_args_dict()
settings_dict.pop('start_segment', None)
settings_dict.pop('start_time', None)
url_settings = urlencode(settings_dict)
segments = self.get_segments()
l = []
Expand Down

0 comments on commit 0bbd570

Please sign in to comment.