Overview | News | Windows | macOS | Android | iOS | Audio Formats | Components | Encoder Pack | Screenshots | Help & Support | Developer | Old Versions
Enhanced Playback Statistics
By: MordredKLB
This component collects and maintains enhanced statistics for played songs; primarily it records the timestamp of every play of a song, and not just the first and last. It will also query last.fm and record play times of every scrobble for a song.
foo_enhanced_playcount provides some additional functionality that foo_playcount does not, but is missing some functionality that foo_playcount has. They work well together, and foo_playcount should NOT be uninstalled when foo_enhanced_playcount is installed.
While you can retrieve playcounts and other information easily, to process some of the played times fields which return arrays you'll need to use one of the javascript panels such as Spider Monkey, JScript, or WSHPanel.
foo_enhanced_playcount provides some additional functionality that foo_playcount does not, but is missing some functionality that foo_playcount has. They work well together, and foo_playcount should NOT be uninstalled when foo_enhanced_playcount is installed.
While you can retrieve playcounts and other information easily, to process some of the played times fields which return arrays you'll need to use one of the javascript panels such as Spider Monkey, JScript, or WSHPanel.
Current version: 5.0.1, released on 2025-07-30
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
- 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
View version history
Documentation
Discussion
Source code
More components
Browse all
Browse by author: MordredKLB
Tags: last.fm, playback statistics