

def __init__(self, stream, *args, **kwargs):
    SegmentedStreamReader.__init__(self, stream, *args, **kwargs)
    self.logger = stream.session.logger.new_module('stream.hls')
    self.request_params = dict(stream.args)
    self.timeout = stream.session.options.get('hls-timeout')
    self.request_params.pop('exception', None)
    self.request_params.pop('stream', None)
    self.request_params.pop('timeout', None)
    self.request_params.pop('url', None)

dataset/ETHPy150Open chrippa/livestreamer/src/livestreamer/stream/hls.py HLSStreamReader.__init__/original