Files with percent-encoded characters not importing

elijahr started this chat 3 years ago

I exported my library from MIXO to rekordbox.xml a while back.

I cleared my MIXO library then tried re-importing from that rekordbox.xml. A few of the files did not import. It looks like it has to do with percent-encoded parentheses. The actual file names contain %28, %29, %2C, etc. It seems like MIXO is decoding the path or filename when it shouldn't be, and is subsequently failing to find the file.

The actual file names in the filesystem:

12_%28More+and+More%29+It+Ain%27t+Easy.mp3
3_Beat+54+%28All+Good+Now%29.mp3
2_Heavy%2C+California.mp3

The entries in rekordbox.xml:

<TRACK TrackID="3" Name="(More and More) It Ain't Easy" Artist="Jungle" Composer="Joshua Lloyd-Watson, Thomas McFarland" Album="For Ever" Genre="Electronic" Kind="mp3" Location="file://localhost/Users/path/to/My Drive/Tracks/2021-04/12\_%28More+and+More%29+It+Ain%27t+Easy.mp3" Size="191" TotalTime="191.9" TrackNumber="12" Year="2018" AverageBpm="83.5" BitRate="320" SampleRate="44100" Comments="XL927DA" PlayCount="0" Rating="0" Tonality="Ebm" Label="XL Recordings"/> <TRACK TrackID="1677" Name="Beat 54 (All Good Now)" Artist="Jungle" Composer="Inflo, Joshua Lloyd-Watson, Thomas McFarland" Album="For Ever" Genre="Electronic" Kind="mp3" Location="file://localhost/Users/path/to/My Drive/Tracks/2021-04/3\_Beat+54+%28All+Good+Now%29.mp3" Size="246" TotalTime="246.815" TrackNumber="3" Year="2018" AverageBpm="106" BitRate="320" SampleRate="44100" Comments="XL927DA" PlayCount="0" Rating="0" Tonality="Em" Label="XL Recordings"/> <TRACK TrackID="2688" Name="Heavy, California" Artist="Jungle" Composer="Joshua Lloyd-Watson, Thomas McFarland" Album="For Ever" Genre="Electronic" Kind="mp3" Location="file://localhost/Users/path/to/My Drive/Tracks/2021-04/2\_Heavy%2C+California.mp3" Size="184" TotalTime="184.6" TrackNumber="2" Year="2018" AverageBpm="111" BitRate="320" SampleRate="44100" Comments="XL927DA" PlayCount="0" Rating="0" Tonality="E" Label="XL Recordings"/>

Note - the files are not actually at /Users/path/to; my full name and email address were included in the file path so I have anonymized the path.

The error modal: