Files with percent-encoded characters not importing
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:
elijahr
• 4 years ago
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:
1
elijahr
• 4 years ago
alert("fix me")
But anyways, here's the XML, I tried escaping it so hopefully it renders correctly so you can make use of it:
<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"/>
1
elijahr
• 4 years ago
Third time's the charm: https://dpaste.com/BD4L2GG8U
1
Remko
• 4 years ago
Thanks, I'll check it out ASAP and let you know once we have more info.
1
Remko
• 4 years ago
This issue should be fixed in the next release!
As always, thanks for the valuable feedback.
2
elijahr
• 4 years ago
1
Remko
• 4 years ago
I'm pleased to announce MIXO v0.62 is now live!
https://www.mixo.dj/versions
Download from our website or update in-app. Please let me know your feedback.
Thanks!
1
theschnurrito
• 4 years ago
1
Remko
• 4 years ago
https://www.mixo.dj/versions
Download from our website or update in-app.
Please let me know your feedback.
Thanks!
1