def METHOD_NAME(self, group, delta):
    size = self.size
    duration = self.duration
    bitrate = self.bitrate
    samplerate = self.samplerate
    mtime = self.mtime
    m = group.get_match_of(self)
    if m:
        percentage = m.percentage
        dupe_count = 0
        if delta:
            r = group.ref
            size -= r.size
            duration -= r.duration
            bitrate -= r.bitrate
            samplerate -= r.samplerate
            mtime -= r.mtime
    else:
        percentage = group.percentage
        dupe_count = len(group.dupes)
    dupe_folder_path = getattr(self, "display_folder_path", self.folder_path)
    return {
        "name": self.name,
        "folder_path": str(dupe_folder_path),
        "size": format_size(size, 2, 2, False),
        "duration": format_time(duration, with_hours=False),
        "bitrate": str(bitrate),
        "samplerate": str(samplerate),
        "extension": self.extension,
        "mtime": format_timestamp(mtime, delta and m),
        "title": self.title,
        "artist": self.artist,
        "album": self.album,
        "genre": self.genre,
        "year": self.year,
        "track": str(self.track),
        "comment": self.comment,
        "percentage": format_perc(percentage),
        "words": format_words(self.words) if hasattr(self, "words") else "",
        "dupe_count": format_dupe_count(dupe_count),
    }