Have a feature request or suggestion? Post your idea here!

Publication

2 abonnés S’abonner
0
Avatar

bug report: export playlist to a file has extraneous unprintable characters

this bug report is a little technical, but i'll do my best.

when i export playlists from rekordbox (right click > "Export playlist to a file" > "for Kuvo (*.txt)"), the printable characters all look good:

# Artwork Track Title Key Artist BPM Time Bitrate DJ Play Count Date Added
1 Don't Be Afraid (Soulwax Remix) Fm Diplo, Damian Lazarus, Jungle 125.00 06:41 320 kbps 0 2021-11-29
2 I Feel You All Around Me (Original Mix) Am Sian 124.00 03:54 320 kbps 0 2021-11-16
3 Blackness Feat. Eleonora (Original Mix) Abm Sasha Carassi, Eleonora 123.00 06:38 320 kbps 0 2021-11-16

if, however, i look at the contents in hex, i see

fffe 2300 0900 4100 7200 7400 7700 6f00 ..#...A.r.t.w.o.
00000010: 7200 6b00 0900 5400 7200 6100 6300 6b00 r.k...T.r.a.c.k.
00000020: 2000 5400 6900 7400 6c00 6500 0900 4b00 .T.i.t.l.e...K.
00000030: 6500 7900 0900 4100 7200 7400 6900 7300 e.y...A.r.t.i.s.
00000040: 7400 0900 4200 5000 4d00 0900 5400 6900 t...B.P.M...T.i.
00000050: 6d00 6500 0900 4200 6900 7400 7200 6100 m.e...B.i.t.r.a.
00000060: 7400 6500 0900 4400 4a00 2000 5000 6c00 t.e...D.J. .P.l.
00000070: 6100 7900 2000 4300 6f00 7500 6e00 7400 a.y. .C.o.u.n.t.
00000080: 0900 4400 6100 7400 6500 2000 4100 6400 ..D.a.t.e. .A.d.
00000090: 6400 6500 6400 0d00 0a00 3100 0900 0900 d.e.d.....1.....
000000a0: 4400 6f00 6e00 2700 7400 2000 4200 6500 D.o.n.'.t. .B.e.

you'll notice that there's an unprintable character 0x00 in every single byte!

i have a workflow where i export the text file and add it to a spotify playlist, but i have to do some pre-processing to remove that null character

Ricky Medina Répondu

Commentaire officiel

Avatar

Our engineers replied:

The text file exported from rekordbox is written in Unicode(UTF-16) for compatibility with 2-byte character, so a 1-byte character comes with 0x00.

The code set used in the text file is defined in the header of the text file - a text editor that supports Unicode should open the tile normally.

Pulse
Actions pour les commentaires Permalien

Vous devez vous connecter pour laisser un commentaire.

2 commentaires

0
Avatar

lol - I never noticed that. I'll pass this to our team for review.

Pulse 0 votes
Actions pour les commentaires Permalien