Monthly listening metrics record

interface MonthlyMetrics {
    listeningTimeMs: number;
    tracksPlayed: number;
    tracksSkipped: number;
    uniqueArtists: string[] | Set<string>;
    uniqueTracks: string[] | Set<string>;
    date: string;
    weeklyTrend: number[];
    skipRateChange: number;
}

Hierarchy (View Summary)

Properties

listeningTimeMs: number

Total listening time in milliseconds

tracksPlayed: number

Number of tracks played

tracksSkipped: number

Number of tracks skipped

uniqueArtists: string[] | Set<string>

Number of unique artists listened to

uniqueTracks: string[] | Set<string>

Number of unique tracks listened to

date: string

ISO month string in YYYY-MM format

weeklyTrend: number[]

Weekly trend data

skipRateChange: number

Month-over-month change in skip rate (percentage)