namespace Wrapped; /// A single entry of the listening history. /// When the playback started. /// Id of the played track. /// How long the track was played (in milliseconds). public record Play(DateTime Timestamp, int TrackId, int MsPlayed) { public TimeSpan Duration => TimeSpan.FromMilliseconds(MsPlayed); }