Author Topic: Itunes Library XML Export from Music Bee cuts off abruptly  (Read 2479 times)

melongurn

  • Newbie
  • *
  • Posts: 2
The Itunes Library XML file that is automatically exported by MusicBee is incomplete.

I have quite a large music collection (thousands of songs) and many playlists (~110) for DJing. These show up fine in MusicBee.
When I check the XML file, it exports all playlists up until the letter P, and then does not export any playlists after P.

This means I do not have access to my full list of playlists in Rekordbox

Is this a bug? Or is there a way to fix this?

alec.tron

  • Sr. Member
  • ****
  • Posts: 755
Hi,
issues with xml exports (& imports into Serato, Traktor et al even moreso..) are often due to font/character formatting issues of the files it tries to parse. There's no bug in MB I know of in that regard - and I export xmls with 500+ playlists to Serato/Traktor/Rekordbox regularly (which has had no issues with since cleaning up filenames & metadata).
So I'd start looking around the file/playlist where it cut off and do a regex search for non-ascii / non-UTF-8 and/or -16 conform characters in filename and/or the metadata fields that the itunes xml queries.  (The above suggestion or some steps can get a bit complex, depending if you have any background in programming/etc,. but maybe this puts you on the right track...).
Good luck!
c.
Last Edit: August 11, 2023, 06:44:02 PM by alec.tron

melongurn

  • Newbie
  • *
  • Posts: 2
Just responding to this as I managed to fix the issue in case anyone else has it.

In my case, a musicbee playlist beginning with p (Piano) had become corrupted and this was stopping the import of playlists.
I deleted this playlist and then worked as normal.
Worth noting that this occurred after some files at the end of the previous playlist (Percussive) that had some unusual unicode character formatting in their titles so this may have also been a cause.

Haakjvork

  • Newbie
  • *
  • Posts: 6
This happens to me too. Probably it's because I shut down the computer when MusicBee is still open and the process that writes iTunes Music Library.xml ends abruptly. My fix is usually just to close MusicBee and wait some seconds whenever I need and updated version of the file.

I think it'd be nice if MusicBee wrote the file not only when closing the program. Or at least if it writes the xml into a temp file and then replaces the actual iTunes Music Library.xml file when the temp file is finished.

The Incredible Boom Boom

  • Sr. Member
  • ****
  • Posts: 1419
I think it'd be nice if MusicBee wrote the file not only when closing the program. Or at least if it writes the xml into a temp file and then replaces the actual iTunes Music Library.xml file when the temp file is finished.

This would be a reasonable wish for the Wishlist board if @Steven doesn't choose to implement it here.