iTunes XML Export – Accented Characters Not Recognized in VirtualDJ on Windows [#21547]

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: iTunes XML Export – Accented Characters Not Recognized in VirtualDJ on Windows [#21547]

Re: iTunes XML Export – Accented Characters Not Recognized in VirtualDJ on Windows [#21547]

by lucky_phil » Fri May 23, 2025 9:14 pm

Hi Peke.

I tried Build 3154 and the track length now appears correctly in Traktor before the track is analysed. So thank you again.

Cheers. :D

Re: iTunes XML Export – Accented Characters Not Recognized in VirtualDJ on Windows [#21547]

by Peke » Thu May 08, 2025 8:32 pm

carmen2584 wrote: Wed May 07, 2025 1:28 am I have same problem but when i confirm that i was not using the latest model.
Build 3154 is not yet released, please test once it is released.

Re: iTunes XML Export – Accented Characters Not Recognized in VirtualDJ on Windows [#21547]

by carmen2584 » Wed May 07, 2025 1:28 am

I have same problem but when i confirm that i was not using the latest model.

Re: iTunes XML Export – Accented Characters Not Recognized in VirtualDJ on Windows [#21547]

by Peke » Sat Apr 26, 2025 5:00 pm

Hi,
Reopened original bug an dcreated https://www.ventismedia.com/mantis/view.php?id=21591 for Total Time key.

Re: iTunes XML Export – Accented Characters Not Recognized in VirtualDJ on Windows [#21547]

by lucky_phil » Thu Apr 24, 2025 8:39 pm

Hi Peke. Thanks a lot for that. I have been on a holday, but I have just installed 3151 and have found the issue with the accented characters to be resolved. I check a few files with different characters and they load correctly into Traktor.

The only three remaining issues I have now with the XML file, if there is appetite to address them, are:
  • 1. The <key>Bpm</key> field should be named: <key>BPM</key> so it can be read by Traktor before the track is analysed into the library
  • 2. The <key>Comment</key> field should be named: <key>Comments</key> so it can be read by Traktor before the track is analysed into the library
  • 3. I think the <key>Length</key><string>00:06:03</string> field should be replaced with <key>Total Time</key> and the track length should be displayed as: <integer>363000</integer>, which is the number of seconds multiplied by 1,000. This would allow the track length to be displayed into Traktor before the track is analysed into the library.
Regarding the Length/Total Time, I have checked against the XML file produced by the MM4 Export EXL plug-in and determined that the Total Time integer is the length in seconds of the track * 1,000.

The use case is that for large music collections where not all tracks have been analyzed into the Traktor library, it is useful to see the BPM and Track Length of each track when scrolling the playlists. Otherwise, each track needs to be analyzed in Traktor to be able to see this information, which uses up time.

None of the suggestions above are urgent for me, but would be nice if they could be done at some stage. I have a macro in Notepad++ that changes the names of the Bpm and Comment columns, but I can't use a macro to change the Length to Total Time.

Thanks again for your time and assistance. Happy for any of your team to contact me if you want further information. :)

Re: iTunes XML Export – Accented Characters Not Recognized in VirtualDJ on Windows [#21547]

by Peke » Fri Apr 04, 2025 5:31 pm

Hi,
Latest 3151 build is available for download, can you confirm.

Re: iTunes XML Export – Accented Characters Not Recognized in VirtualDJ on Windows [#21547]

by adamlove » Thu Mar 27, 2025 8:10 am

Hi Peke, Ludek & everyone,

Sorry for the delay—I had email notifications turned off and only just saw your replies. I’ve just installed MediaMonkey 2024.2.0.3150 (portable) and re‑exported the iTunes XML into VirtualDJ (screenshots below).

Image

Image

From what I understand, the accented‑character export bug is fixed in the upcoming build 2024.2.0.3151. That build isn’t publicly available yet, but will be soon. Is that correct?

I’m happy to upload the XML, database, or any test files if it’ll help track down any remaining issues. Thanks again for all your responsiveness and support!

Re: iTunes XML Export – Accented Characters Not Recognized in VirtualDJ on Windows [#21547]

by lucky_phil » Thu Mar 27, 2025 12:53 am

Thanks Ludek. I did notice that after I installed 2024.1.0.3113

Thanks also for being so responsive. :)

I'll keep an eye on the builds.

Re: iTunes XML Export – Accented Characters Not Recognized in VirtualDJ on Windows

by Ludek » Mon Mar 24, 2025 12:23 pm

lucky_phil wrote: Wed Mar 19, 2025 3:31 am
Also, if the Date Added column is renamed to <key>Date Added</key> instead of <key>DateAdded</key> (i.e. add a space), and the field is populated as a date instead of a string, then it will show in Traktor before the track is imported/analyzed into Traktor's library, which is handy to know when you added the track to MM.

Example:
MM5: <key>DateAdded</key><string>16/03/2021 10:43 PM</string>
MM4: <key>Date Added</key><date>2021-03-16T22:43:43</date>

I hope I'm not being too nit-picky. :)
Just tested the newest official build 2024.1.0.3113 and the 'Added' date is exported as
<key>Date Added</key><date>2025-03-24T17:20:54.000Z</date>
which seems expected, so you have tested probably an outdated build / script ?

Otherwise https://www.ventismedia.com/mantis/view.php?id=21547 will be fixed in the next build 2024.2.0.3151

Re: iTunes XML Export – Accented Characters Not Recognized in VirtualDJ on Windows

by Peke » Sun Mar 23, 2025 3:55 pm

Hi,
Thx for investigation I can confirm your tests so I added it as https://www.ventismedia.com/mantis/view.php?id=21547

Good Catch! Sneaky one.

Re: iTunes XML Export – Accented Characters Not Recognized in VirtualDJ on Windows

by lucky_phil » Wed Mar 19, 2025 11:19 pm

Hi Pete,

Thanks for your response.

I downloaded the latest beta version just now. I can see improvements to formating of the XML file when I open it in Notepad++, which is great. And also the nested playlists now showing in Traktor, which is also fantastic.

However the accented character issue still persists. The accented é in café still shows as "&#233;" in the file Location, rather than "%C3%A9"

Also, I noticed that the XML now converts the Title and Album fields to XML where they have accented characters:
<key>Title</key><string>Moira Jane's Caf&#233; (Live Version)</string>

which I would say is not correct behaviour as they are strings and not links. So they will display like that on the screen.

Later last night, I found the same issues with the letters ğ ç and â.

I'm no expert, but I just did a quick google search and it looks like the XML export is using UTF-16, but maybe it should be using UTF-8 to convert the special characters?

UTF-8 rpodcues: c3 a9 https://www.utf8-chartable.de/
UTF-16 produces: &#233 https://asecuritysite.com/coding/asc2

Re: iTunes XML Export – Accented Characters Not Recognized in VirtualDJ on Windows

by Peke » Wed Mar 19, 2025 4:30 pm

Hi,
Are you sure that you are using Latest MM 2024.1 Version from viewtopic.php?t=86639&sd=d ? There was recent fix to better standardize iTunes Export function.

Re: iTunes XML Export – Accented Characters Not Recognized in VirtualDJ on Windows

by lucky_phil » Wed Mar 19, 2025 3:31 am

I have also found that if the replace the names of these fields in the MM5 itunes XML export:
<key>Comment</key>
<key>Bpm</key>

To these names:
<key>Comments</key>
<key>BPM</key>

Also, if the Date Added column is renamed to <key>Date Added</key> instead of <key>DateAdded</key> (i.e. add a space), and the field is populated as a date instead of a string, then it will show in Traktor before the track is imported/analyzed into Traktor's library, which is handy to know when you added the track to MM.

Example:
MM5: <key>DateAdded</key><string>16/03/2021 10:43 PM</string>
MM4: <key>Date Added</key><date>2021-03-16T22:43:43</date>

I hope I'm not being too nit-picky. :)

Re: iTunes XML Export – Accented Characters Not Recognized in VirtualDJ on Windows

by lucky_phil » Wed Mar 19, 2025 3:03 am

Hello,

I have noticed the same thing.

My file path is: E:\Lossless cd images\Garbage\Garbage (20th Anniversary) • The Remixes\19 - Garbage - Milk (The Tricky Mix).flac

It is the '•' character causing the problem.

The MM5 export to XML produces this:
file://localhost/E:/Lossless%20cd%20images/Garbage/Garbage%20(20th%20Anniversary)%20&#8226;%20The%20Remixes/19%20-%20Garbage%20-%20Milk%20(The%20Tricky%20Mix).flac

While the MM4 plugin to export to XML produces this (which works):
file://localhost/E:/Lossless%20cd%20images/Garbage/Garbage%20(20th%20Anniversary)%20%E2%80%A2%20The%20Remixes/19%20-%20Garbage%20-%20Milk%20(The%20Tricky%20Mix).flac

Traktor can't locate my file. But if I update the location to the one produce by MM4 then it can find the file.

I also have the problem with the accented characters, with the track 'Moira Jane's Café (Live Version)':

MM5 produces: Moira%20Jane's%20Caf&#233;%20(Live%20Version).flac

Let me know if you want me to send you the two xml files. The MM4 one works.

MM4 produces: Moira%20Jane's%20Caf%C3%A9%20(Live%20Version).flac

Traktor can't find this file either.

Top