getmusicbee.com
Support => Developers' Area => MusicBee API => Topic started by: Spicefly on May 21, 2017, 09:51:28 PM
-
Hi
I have a ton of playcount and track rating that I can export to an xml file. I would like to import this into MusicBee but it looks to be using a bespoke format? and not for example a sqlite database? I was hoping for a simple column I could have matched and imported ;D
Any suggestions on how to import the data?
Cheers
-
manually parse your xml file, match xml data to tracks based on tags and write ratings to tracks. i'm afraid play counts are read-only in mb api.
-
i made a change a while ago so playcounts (14) can be written to
-
thanks, Steven. i'll change tag tools plugin according to this. the same for skip counts?
-
Both fields are already writable with your plugin.
-
i've already discovered this, but thanks anyway.
-
Another approach is to create an iTunes formatted XML file, from which MB can import the ratings and play counts only via the File/ Library/ Import command (or something like that)
-
Thanks for your help. I did a proof of concept and managed to craft an iTunes XML file that MusicBee accepted and updated the library, so just in the process of writing a quick C# program to do the conversation of my source XML file to a suitable importable format.
Thanks for the steer :)