Track-specific metrics beyond just skips

interface TrackMetrics {
    id: string;
    name: string;
    artistName: string;
    playCount: number;
    skipCount: number;
    avgCompletionPercent: number;
    lastPlayed: string;
    hasBeenRepeated: boolean;
}

Properties

id: string

Track ID

name: string

Track name

artistName: string

Artist name

playCount: number

Total times played

skipCount: number

Total times skipped

avgCompletionPercent: number

Average percent of track listened before skipping (0-100)

lastPlayed: string

Last played timestamp

hasBeenRepeated: boolean

If track has been repeated within the same session