Skip to content

stream.hls: remove --hls-segment-ignore-names command #3414

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

back-to
Copy link
Collaborator

@back-to back-to commented Dec 13, 2020

It has some downsides such as --hls-timeout,
Plugin specified FilteredHLSStream should be used instead.

#3187


Afreeca Plugin as an Example

#3408


Revert #1432

It has some downsides such as `--hls-timeout`,
Plugin specified FilteredHLSStream should be used instead.

streamlink#3187

---

Afreeca Plugin as an Example

streamlink#3408

---

Revert streamlink#1432
Copy link
Member

@bastimeyer bastimeyer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with the removal of this feature.

However, would it maybe make more sense merging the FilteredHLS logic into the regular HLS classes instead? By doing this, we could keep the CLI argument and custom filtering feature. The drawback would be the need of refactoring the regular HLS classes a bit and making it a bit more slow due to the additional filtering checks on each write call, which was the reason why I implemented this separately. The classes which depend on FilteredHLS also need to get refactored, which is currently only the HLSStream stuff of the Twitch plugin (and AfreecaTV once that PR gets merged).

@back-to
Copy link
Collaborator Author

back-to commented Dec 13, 2020

However, would it maybe make more sense merging the FilteredHLS logic into the regular HLS classes instead?

maybe, but probably to much work for streamlink 2.0.0

Ref #2497

@bastimeyer
Copy link
Member

I don't think it's too much work. If we keep the filtered tests separated from the other HLS tests, it should be pretty simple. Let me give this a try...

@back-to back-to deleted the ignore-names branch February 13, 2021 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants