Skip to content

Conversation

@bastimeyer
Copy link
Member

@bastimeyer bastimeyer commented Aug 19, 2023

  • Turn SegmentedStream{Writer,Worker,Reader} into generic classes with segment and segment-result types
  • Fix typing information of the writer's queue
  • Add missing typing information
  • Update segmented stream classes accordingly

#5498

Next step will be fixing the whole Segment mess by adding a common BaseSegment. This will require more changes due to how the current segments are implemented and structured.

@bastimeyer
Copy link
Member Author

Will fix the py38 errors tomorrow...

- Turn `SegmentedStream{Writer,Worker,Reader}` into generic classes
  with `TSegment` and `TResult` types
- Fix typing information of the writer's queue
- Add missing typing information
- Update segmented stream implementations/subclasses accordingly
@bastimeyer bastimeyer force-pushed the stream/generic-segmented branch from 5652409 to bb83f4c Compare August 20, 2023 11:08
@bastimeyer bastimeyer merged commit 54136f4 into streamlink:master Aug 20, 2023
@bastimeyer bastimeyer deleted the stream/generic-segmented branch August 20, 2023 11:12
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.

1 participant