Author Topic: Importing data into MusicBee  (Read 5810 times)

Spicefly

  • Newbie
  • *
  • Posts: 12
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

boroda

  • Sr. Member
  • ****
  • Posts: 4595
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.

Steven

  • Administrator
  • Sr. Member
  • *****
  • Posts: 34312
i made a change a while ago so playcounts (14) can be written to

boroda

  • Sr. Member
  • ****
  • Posts: 4595
thanks, Steven. i'll change tag tools plugin according to this. the same for skip counts?

redwing

  • Guest
Both fields are already writable with your plugin.

boroda

  • Sr. Member
  • ****
  • Posts: 4595
i've already discovered this, but thanks anyway.

Steven

  • Administrator
  • Sr. Member
  • *****
  • Posts: 34312
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)

Spicefly

  • Newbie
  • *
  • Posts: 12
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 :)