How do I colour-code my tracks by genre in rekordbox?
Give Playproof's track colours tool your collection export and the playlists to colour. It listens to the tracks, sorts them into up to eight types, by how they sound or by the genre in their tags, and gives each type one of rekordbox's eight colours. You bring the colours in with Import To Collection, and rekordbox then shows, sorts and filters your tracks by colour. Nothing in rekordbox changes until you import.
Every track in rekordbox has a colour slot: pink, red, orange, yellow, green, aqua, blue or purple. Most DJs leave it empty, because colouring a library by hand takes an evening. Coloured, a long playlist tells you at a glance which tracks are which, in rekordbox's Color column and on the players.
How to do it
- Export your collection. In rekordbox, choose File → Export Collection in xml format and save the file. Do this just before you start, so it holds your newest cues and grids: the import later puts each track back exactly as this file has it.
- Open the track colours tool. Choose rekordbox, then the file you just saved (Playproof can remember it under Settings → Your rekordbox export), the playlists to colour and your music folders. Playproof only reads them.
- Let it listen. Each track is heard once; what Playproof heard before, in any tool, is remembered, so a second run is quick. Nothing is uploaded.
- Choose what the colours mean. Sound, the default, puts the tracks that sound most alike together and names each group from what sets it apart, like “Dark House”; it splits even a playlist of one genre. Genre uses the genre in your tags, with spellings like “Tech House” and “tech-house” taken as one. Energy runs from calm to intense, cool colours to hot. Mood uses each track's strongest mood. The legend shows each type, why its tracks belong together, how many there are, and its colour. Rename a type, pick another colour, merge two, or change a single track.
- Download the file. Leave “Keep colours my tracks already have” ticked unless you want them replaced. You get one XML: the tracks whose colour changes, each as your export has it with only the colour changed, and a folder with one playlist per colour.
- Back up rekordbox. In rekordbox, File → Library → Backup Library, click OK, answer No to backing up music files as well (your music isn't touched), choose where to save it and click Save. Wait for “Collection was backed up.”
- Point rekordbox at the file. Open Preferences → Advanced → Database. Under rekordbox xml, choose the downloaded file as the Imported Library, and close Preferences.
- Find it in the tree. In the tree on the left, double-click rekordbox xml, then Playlists. Open the folder Playproof made and click a playlist: these are the tracks that get that colour. Look through a few before importing.
- Import one playlist first. Open a playlist in that folder, select all its tracks (Ctrl + A, on a Mac Cmd + A), right-click and choose Import To Collection. If rekordbox asks whether to overwrite tracks already in your collection, say yes: that is how the colour gets in. Use Import To Collection, not Import Playlist: importing a playlist doesn't update tracks you already have.
- Check, then do the rest. In Collection, right-click a column heading and tick Color, and look at the tracks you just imported: they show their new colour. Then import the other playlists in the folder the same way. Click the Color heading to sort by colour.
Name the colours after your types
rekordbox lets you give each of its eight colours a name of your own, so you read “House” instead of “Pink”. Open Preferences → Advanced → Browse, and under Color type a name next to each colour, the same as the types in Playproof's legend. rekordbox calls this a comment, and the players that let you browse by colour show it. More about rekordbox's track colours
Sort and filter by colour
- Sort: show the Color column (right-click any column heading) and click its heading.
- Filter: click at the left of the search box to open the track filter, tick COLOR and pick a colour. Only those tracks stay in the list, in any playlist.
- On the stick: export to your USB stick as usual, and the colours go with the tracks.
What can go wrong
- “rekordbox xml” isn't in the tree. Open Preferences → View → Layout and tick rekordbox xml under Media Browser.
- A track lost cues you set after the export. Import To Collection replaces each track with what the file says, and the file is your export with only the colour changed. Export again, colour again, and import that.
- A track appears twice in Collection. The file named it at a place where rekordbox doesn't have it, usually because the music moved after the export. Remove the new copy from Collection, export again and start over.
- The imported tracks show no colour at all. Check that you chose Import To Collection, not Import Playlist. If they still show none, stop there, restore the backup if you like (below) and write to hello@playproof.app with your rekordbox version.
- Some tracks didn't change colour. They had a colour already and “Keep colours my tracks already have” was ticked, or Playproof couldn't listen to them, or they had no genre when you coloured by genre. The tool lists every one of those.
The other way: set the colours yourself, one playlist per colour
If the import doesn't bring the colours in, or you'd rather rekordbox replaced nothing, the tool can save one playlist per colour instead (under “Or set the colours yourself in rekordbox”). Each is an ordinary playlist named after its colour and type. In rekordbox, choose File → Import → Import Playlist and pick them; open one, select all its tracks (Ctrl + A, on a Mac Cmd + A), right-click, choose Color and pick the colour in the playlist's name. Then the next playlist. It takes a few clicks per colour and changes only the colour; the tracks needn't be in your export. Try one playlist first.
How to undo it
Restore the backup from step 6: File → Library → Restore Library, click OK, choose the backup file and click Open. rekordbox replaces its library with the backup, so do this right away: anything you changed after the backup is undone too. To take the colour off only a few tracks, change them by hand in rekordbox.
Good to know
- rekordbox has eight track colours and no more, so Playproof makes at most eight types, and fewer if you ask. By sound it makes as many groups as you choose; by genre, when there are more genres than colours, the smallest share one colour, “Other”.
- The colours are worked out from the tracks you choose together. Colour a whole genre's worth of playlists in one go, and a later run on more tracks keeps the choices you made.
- Playproof never writes rekordbox's own library. You bring the file in yourself, and only the tracks in it change.
- Free for up to 25 tracks at a time, and on the demo library. The plan colours whole playlists.
See also: rekordbox's track colours · Import from a rekordbox XML file · Playproof with rekordbox · The same in VirtualDJ