Native Last.fm scrobbler for foobar2000 on macOS. Automatically track your listening history with offline queueing, native preferences UI, and seamless Last.fm API integration. Built with the official foobar2000 SDK and Cocoa frameworks for a lightweight, reliable experience that respects your privacy and system resources.
- Automatic scrobbling — tracks are submitted to Last.fm as you listen
- Offline queueing — stores plays locally when offline and syncs automatically when reconnected
- Secure authentication — uses your own Last.fm API credentials with encrypted session keys
- Native macOS UI — fully integrated preferences panel with Cocoa interface
- Configurable thresholds — set when tracks should be scrobbled (percentage of playback)
- Built-in debugging — optional console logging for troubleshooting
- Async networking — non-blocking I/O keeps foobar2000 responsive
- Lightweight & open source — minimal resource usage, MIT licensed
- Download the latest release from Releases
- Unzip the file to get
foo_mac_scrobble.component/ - Open foobar2000 → Preferences → Components
- Click the "+" button and select the
foo_mac_scrobble.componentfolder - Restart foobar2000
Copy the component folder to your user components directory:
~/Library/foobar2000-v2/user-components/foo_mac_scrobble/Then restart foobar2000.
Open foobar2000 → Preferences → Tools → Last.fm Scrobbler
Visit Last.fm API Account Creation and create an API account. You'll receive:
- API Key
- API Secret
Paste both into the preferences panel.
- Click Authenticate — your browser will open to Last.fm
- Approve access on the Last.fm authorization page
- After approval, you'll see an "Invalid API key" error (this is expected)
- Copy the full URL from your browser's address bar
- Paste it into the component's dialog and press OK
- You should see: ✅ Authenticated as: yourusername
- Scrobble threshold: Set the percentage of track completion required (default: 50%)
- Debug logging: Enable to see detailed output in foobar2000's Console
💡 Tip: Debug messages appear in View → Console and help diagnose authentication or network issues.
- Check that you're authenticated (preferences should show your username)
- Enable debug logging and check the Console for error messages
- Verify your internet connection is active
Delete these files and restart foobar2000:
~/Library/foobar2000-v2/lastfm_session.json
~/Library/foobar2000-v2/lastfm_scrobble_queue.jsonThen go through the authentication steps again.
The component automatically retries failed scrobbles when you're back online. If issues persist, check Console logs with debug mode enabled.
More help: See the Wiki for detailed troubleshooting, building from source, and technical documentation.
Preferences Panel
Authentication Flow
- Report issues or Feature requests: Use GitHub Issues with the provided templates
- Build from source: See Building Guide in the Wiki
- Contributing: Pull requests welcome! Check Contributing Guidelines
MIT License © Oleksandr Velychko
Built with:
- foobar2000 SDK
- Last.fm API
- Cocoa frameworks (macOS native)
Enjoy the plugin? Star the repo ⭐ or share feedback on foobar2000 forums!


