Skip to content

python scripts for automating music management in rekordbox

License

Notifications You must be signed in to change notification settings

underson14/rekordbox-scripts

 
 

Repository files navigation

rekordbox scripts

a collection of scripts to help organize and prep music collections in rekordbox.

demo/tutorial

click below for a video walkthrough of me using the most complicated script in this repo to convert all the warp markers in an ableton DJ set to cue points in rekordbox (both memory and hot cues).

demo

prereqs

usage

exporting your rekordbox collection as XML

in Rekordbox select File and then Export Collection in xml format. it will create an XML file.

running

unless otherwise specified, run python3 <script> <path_to_exported_XML> where <script> is the script you want to run and <path_to_exported_XML> is the path to the exported Rekordbox XML. for instance python3 hotcues-to-memory-cues.py ~/Rekordbox.xml.

scripts

scripts marked with [M] will modify your collection by creating a new XML file, output.xml, which you can then import back into rekordbox (see instructions in next section).

  • hotcues-to-memory-cues.py [M]: replicates all hot cues as memory cues. it does not delete any existing hot cues or memory cues.
  • memory-cues-to-hotcues.py [M]: same as above but in reverse
  • show-low-bitrate.py: shows tracks with less than a given bitrate; default is 320kbps. note that vbr encoded tracks may show a bitrate of 0. the bitrate is configurable; for instance you can run python3 show-low-bitrate.py input.xml 256 to set the threshold to 256kbps.
  • show-dups.py: shows tracks with the same title
  • show-non-mp3.py: shows tracks that are not mp3
  • ableton-to-cues.py [M]: takes warp markers from an ALS file and converts them into hotcues and memcues in rekordbox. this script must be called with the ableton file as the first argument; for instance python3 ableton-to-cues.py myset.als ~/Rekordbox.xml. use the --reverse true option to instead convert Rekordbox cues to Ableton warp markers.

importing the modified collection back into Rekordbox

  1. in rekordbox, choose Preferences, Advanced and then Database.
  2. click on the Browse button, find output.xml and click open.
  3. choose Preferences, View, and then check rekordbox xml in Layout.
  4. rekordbox xml appears in your browser window. expand and click All Tracks
  5. select the track(s) that you want to import and right click and select Import to Collection.

Note: I found that sometimes when importing Ableton cues into rekordbox, the cues don't show up until after I delete the original tracks from the rekordbox collection.

related tools

https://github.com/rougetimelord/keypad by @_caffeinu 0-pads Camelot keys so that CDJs sort by key correctly.

support

if you encounter a bug or have a feature request, open an issue or DM me on soundcloud / twitter.

About

python scripts for automating music management in rekordbox

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%