'Extract exact stream format for each entity_id and play it.'

def extract_and_send(self):

    try:
        stream_selector = self.get_stream_selector()
    except MEDownloadException:
        _LOGGER.error('Could    not    retrieve    data    for    the    URL:    %s', self.get_media_url())
    else:
        entities = self.get_entities()
        if (len(entities) == 0):
            self.call_media_player_service(stream_selector, None)
        for entity_id in entities:
            self.call_media_player_service(stream_selector, entity_id)
