foobar2000

Enhanced Playback Statistics

By: MordredKLB

Version: 5.0.1, released on 2025-07-30 (archived)

Change log:

- Sometime in the last few years, the timestamp Last.fm returns from it's API went from being exactly 60s behind the timestamp Foobar uses to mark a play, to 61s behind (I'm not sure if this is a FB or last.fm problem). I've been manually adding 60s to last.fm timestamps so that %LASTFM_PLAYED_TIMES%/%LASTFM_LAST_PLAYED%/etc. matches up with the timestamps foobar reports for %last_played%, etc. Changed this to do +61s and now they match up again.
- A user had some kind of weird metadb corruption where certain plays were missing from foo_playcount and some were missing from foo_playcount_enhanced. We can't completely recover all lost plays, but we can check to see if first_played/last_played are in the list of plays this component has recorded, and if they aren't we add them back in. This likely only affects users on v1.x

Supported processor architectures: x86 32-bit, x86 64-bit.

Links

Download
View version history
View latest version and component description
Documentation
Discussion
Source code

How to install a component?