Skip to content

Commit

Permalink
fix(hls): remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
Darkness4 committed May 24, 2024
1 parent 624d02d commit 6250d20
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions hls/hls_downloader.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,12 +197,6 @@ func (hls *Downloader) fillQueue(ctx context.Context, urlChan chan<- string) err
continue
}
lastFragmentName = filepath.Base(parsed.Path)
if err != nil {
hls.log.Err(err).
Str("url", u).
Msg("failed to parse fragment URL, skipping")
continue
}
if useTimeBasedSorting {
tsI, err := strconv.ParseInt(parsed.Query().Get("time"), 10, 64)
if err != nil {
Expand Down

0 comments on commit 6250d20

Please sign in to comment.