def _get_player_params(self, retries=5):
        match = _url_re.match(self.url);
        domain = match.group('domain');
        try:
            res = http.get(CHANNEL_INFO_URL % str(domain))
        except PluginError as err:
            # The server sometimes gives us 404 for no reason
            if "404" in str(err) and retries:
                sleep(1)
                return self._get_player_params(retries - 1)
            else:
                raise
        channel_info = http.json(res)
        channel_info = channel_info['data']

        key = channel_info['player_key'];

        is_live = channel_info['is_live'];

        stream_video = channel_info['stream_video']
        if stream_video:
            video_player = "ref:" + stream_video['reference_id']
        else:
            is_live = False
            video_player = None

        player_id = channel_info['player_id']

        return key, video_player, player_id, is_live
dataset/ETHPy150Open chrippa/livestreamer/src/livestreamer/plugins/azubutv.py/AzubuTV._get_player_params/original