if2ktool - Migrate iTunes data to foo_playcount (Playback Statistics) 2019-03-16 09:15:10 Hi all, first post here. This isn't really a plugin, but hopefully still relevant for this subforum.I've been working on a tool that helps migrate data (play count, rating, date added and last played) from iTunes to foobar2000's playback statistics component. Having recently moved my library from iTunes, all this data wasn't carried over, and I missed having my amassed play counts in foobar and being able to sort by library by the date the tracks were added, going years back.As far as I know, there was no easy way to go about migrating this data. What this tool does is simply read this information from your iTunes Library XML (data that isn't written to the files), and write it to the file tags that are expected by the import function of foo_playcount.I won't get into much more here, but I figured I might as well share it on the forum. It is still considered "in development", and I've only really been able to test it on my library - so any feedback would be great. If you do give it a try, please make sure to back up your library beforehand! Included in the repo below is a readme, where I've tried to document as much as possible. It's a good start if you don't know where to begin.DownloadGitHub: https://github.com/macklinb/if2ktool (click the "Releases" tab)Developer side note:At the moment, this tool writes data to the file tags, and then relies on the plugin to import the data from the tags. However I'd really like to add a solution that doesn't require editing the user's files - and instead write directly to the foo_playcount database.The only hurdle I've faced with this approach is with how the entry ID (e.g. 0123456789abcde) as seen in an export from the plugin relates to a track in foobar. It appears to be a hashed combination of track title + album + album artist - perhaps a MYSQL323, or really any 16-bit hash. Knowing how this is constructed would be the only key to accomplishing the above. Any information regarding this would be much appreciated!