'Search for an episode'

def run(self):

    showObj = findCertainShow(sickrage.srCore.SHOWLIST, int(self.indexerid))
    if (not showObj):
        return _responds(RESULT_FAILURE, msg=u'Show    not    found')
    epObj = showObj.getEpisode(int(self.s), int(self.e))
    if isinstance(epObj, str):
        return _responds(RESULT_FAILURE, msg=u'Episode    not    found')
    ep_queue_item = sickrage.srCore.SEARCHQUEUE.put(ManualSearchQueueItem(showObj, epObj))
    while (not ep_queue_item.success):
        time.sleep(1)
    if ep_queue_item.success:
        (status, quality) = Quality.splitCompositeStatus(epObj.status)
        return _responds(RESULT_SUCCESS, {u'quality': get_quality_string(quality)}, ((u'Snatched    (' + get_quality_string(quality)) + u')'))
    return _responds(RESULT_FAILURE, msg=u'Unable    to    find    episode')
