'Get detailed information about 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')
    dbData = [x[u'doc'] for x in sickrage.srCore.mainDB.db.get_many(u'tv_episodes', self.indexerid, with_doc=True) if ((x[u'doc'][u'season'] == self.s) and (x[u'doc'][u'episode'] == self.e))]
    if (not (len(dbData) == 1)):
        raise ApiError(u'Episode    not    found')
    episode = dbData[0]
    showPath = showObj.location
    if ((bool(self.fullPath) is True) and os.path.isdir(showPath)):
        pass
    elif ((bool(self.fullPath) is False) and os.path.isdir(showPath)):
        showPathLength = (len(showPath) + 1)
        episode[u'location'] = episode[u'location'][showPathLength:]
    elif (not os.path.isdir(showPath)):
        episode[u'location'] = u''
    if (tryInt(episode[u'airdate'], 1) > 693595):
        episode[u'airdate'] = srdatetime.srDateTime.srfdate(srdatetime.srDateTime.convert_to_setting(tz_updater.parse_date_time(int(episode[u'airdate']), showObj.airs, showObj.network)), d_preset=dateFormat)
    else:
        episode[u'airdate'] = u'Never'
    (status, quality) = Quality.splitCompositeStatus(int(episode[u'status']))
    episode[u'status'] = _get_status_Strings(status)
    episode[u'quality'] = get_quality_string(quality)
    episode[u'file_size_human'] = pretty_filesize(episode[u'file_size'])
    return _responds(RESULT_SUCCESS, episode)
