JScript Panel v2

JScript Panel :: Playcount Sync :: ListenBrainz 2 :: MusicBrainz Tagger

Note: This repo has been deleted, and this information is listed for archival purposes only Playcount Sync

GitHub stars


It’s recommended that you use this in conjunction with foo_scrobble.

Minimum requirements

Windows 7 and foobar2000 v1.4.



Open File>Preferences>Tools> Playcount Sync and enter your username.


If you’re only interested in updating Playcounts or importing Loved tracks, you can ignore the Authorise button.

You only need to use that if you want to love or unlove tracks. When clicked, it will launch a browser window opening the website and you must grant permission BEFORE clicking the additonal confirmation dialog spawned by the Preferences. When Authorisation is complete, you should receive final confirmation. If you revoke permission or change your password on, you’ll need to use the Clear session button and Authorise again.

As of 1.0.0-Beta.6, you can now customise the Artist title formatting used when looking up playcounts or loving/unloving tracks. Note that this does not change the underlying database storage mechanism which is always bound to %artist%. Also, it will have no effect on loved track imports. For technical reasons, matches can only be against %artist%.

Updating playcounts

Simply listen and it will update in real time. A lookup is performed a few seconds after playback starts and assuming the server response is valid, all existing values for that track will be overwritten by data. Server values always take precedence!

When you’ve listened to enough of a track for a count to scrobble, the playcount is incremented by one and the last played date is set. This is the only time data is written without contacting because most scrobblers won’t submit until after the track has finished.

If you can’t wait to listen your tracks normally, you can batch import up to 100 tracks at a time… just like this.


Like foo_playcount, it uses a database for storage so no file tags are touched. Stats are grouped by %artist% / %title% with absolutely no consideration for album tags. This generally means the numbers will match anything you see on track pages/charts.

The field names are:


Loving / unloving tracks

The database uses the following field:


It has a value of 1 for tracks that have been loved succesfully. You can Love or Unlove by right clicking a track (or selection up to 20 tracks) and using the appropriate menu item. You may consider binding buttons or keyboard shortcuts.


Note that values are only updated on a successful response from

Importing Loved Tracks

To do this, simply use the main menu Library> Playcount Sync>Import loved tracks. Matches will be made against tracks that are monitored as part of the Media Library. Check the Console for full results. Note that matches are made against %artist%. It’s not possible to support custom title formatting here.


Any Authorisation errors are reported by popup dialogs. Any errors updating playcounts, importing loved tracks or loving/unloving tracks are reported in the Console.