To prevent skewing of recent tracks (and eventually metrics), only add songs to recent tracks if the song plays for a certain amount of time.
I believe Last.fm requires somewhere between 1/2 and 3/4 of the track in order for it to count. Another possibility would be to only add to recent tracks when we receive the "trackEnded" notification.
Implemented. Player has a "constant" called PLAYED_THRESHOLD that is used to determine when a song should be considered played. This is currently set to 0.5.
To prevent skewing of recent tracks (and eventually metrics), only add songs to recent tracks if the song plays for a certain amount of time.
I believe Last.fm requires somewhere between 1/2 and 3/4 of the track in order for it to count. Another possibility would be to only add to recent tracks when we receive the "trackEnded" notification.