'Just the filename of the episode, formatted based on the naming settings'

def formatted_filename(self, pattern=None, multi=None, anime_type=None):

    if (pattern is None):
        if (self.show.air_by_date and sickrage.srCore.srConfig.NAMING_CUSTOM_ABD and (not self.relatedEps)):
            pattern = sickrage.srCore.srConfig.NAMING_ABD_PATTERN
        elif (self.show.sports and sickrage.srCore.srConfig.NAMING_CUSTOM_SPORTS and (not self.relatedEps)):
            pattern = sickrage.srCore.srConfig.NAMING_SPORTS_PATTERN
        elif (self.show.anime and sickrage.srCore.srConfig.NAMING_CUSTOM_ANIME):
            pattern = sickrage.srCore.srConfig.NAMING_ANIME_PATTERN
        else:
            pattern = sickrage.srCore.srConfig.NAMING_PATTERN
    name_groups = re.split(u'[\\\\/]', pattern)
    return sanitizeFileName(self._format_pattern(name_groups[(-1)], multi, anime_type))
