'Search for an episode subtitles'

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')
    previous_subtitles = epObj.subtitles
    try:
        subtitles = epObj.downloadSubtitles()
    except Exception:
        return _responds(RESULT_FAILURE, msg=u'Unable    to    find    subtitles')
    newSubtitles = frozenset(epObj.subtitles).difference(previous_subtitles)
    if newSubtitles:
        newLangs = [sickrage.subtitles.name_from_code(newSub) for newSub in newSubtitles]
        status = (u'New    subtitles    downloaded:    %s' % u',    '.join([newLang for newLang in newLangs]))
        response = _responds(RESULT_SUCCESS, msg=u'New    subtitles    found')
    else:
        status = u'No    subtitles    downloaded'
        response = _responds(RESULT_FAILURE, msg=u'Unable    to    find    subtitles')
    sickrage.srCore.srNotifications.message(u'Subtitles    Search', status)
    return response
