Skip to main content

Tools for managing and modifying a RekordBox library en-masse

Project description

rekordbox-edit

Build Coverage Version Platforms License

A command-line tool for bulk operations on your Rekordbox library. Search tracks, edit metadata, and convert between audio formats with the benefit of database updates that preserve all your cues, analyses, and metadata.

[!CAUTION] This tool can modify your Rekordbox database and audio files. Always back up your data first. No warranty is provided--you assume all risk and liability of data loss in using this. See Safety and Best Practices

[!WARNING] This project is in active development with no stable version released yet. Breaking changes are likely to occur across version 0 releases until the API and behavior stabilizes.

Full documentation: rekordbox-edit.readthedocs.io

Installation

pip install rekordbox-edit

Requirements:

  • Python 3.11+
  • FFmpeg (for audio conversion)

Quick Start

Search your library:

rbe search --artist "Daft Punk" --format flac
rbe search --playlist "House Favorites"

Edit track metadata:

# Fix a typo across every matching track title
rbe edit --title "Teh" Title --match "Teh" --replace "The" --multi

Convert audio files:

# Preview what would be converted
rbe convert --artist "Daft Punk" --dry-run

# Convert all FLAC or WAV files to AIFF without confirming
rbe convert --format flac --format wav --format-out aiff --yes

See the documentation for every command, the full filtering language, and scripting recipes.

Safety and Best Practices

Before using this tool:

  1. Back up your Rekordbox database

    Rekordbox already keeps multiple backups. But every time you close it, it creates a fresh one and deletes the oldest, so repetitive exits will quickly make those backups fairly useless.

    You should make manual copies of RB's database backups before using this. You can usually find them in ~/Library/Pioneer/rekordbox/ on macOS or %APPDATA%\Pioneer\rekordbox\ on Windows.

  2. Back up your music library

    If you don't have a back up already it's a very worthwhile investment, even if you don't plan to use this tool! Find yourself a cheap external drive, you won't regret it.

And more generally you should limit the potential impact of a mistake by using filters to target a few tracks at a time (e.g. --artist "Crazy Frog" --first 5) before targeting a larger set, and always run with --dry-run first.

Credits

This project exists thanks to @dylanjones, the creator of pyrekordbox, which provides the Python API for interacting with the Rekordbox database.

I built this tool to help correct my own bad habits and missteps in managing and organizing my Rekordbox library. If it helps you too, great! If you find issues or have ideas, contributions are welcome.

AI Usage

I believe it's important to be aware of and to disclose AI usage. The way its presence and usage is forced on us from every direction is too often gross and oppressive, and it's used almost exclusively for capitalist profit.

I'm mostly attempting to thoughtfully disclose that generative AI has been a significant tool in building out this project. I don't personally enjoy too much coding in my personal time, but I feel passionate about making rekordbox-edit--AI has admittedly helped me bridge that gap between my capacity and my goals of completing it. This being said, I'm a career professional software engineer who takes pride in their work, and I don't want to produce a vibe-coded mess any more than you want to experience it. Please validate the quality of this project yourself--at the end of the day it's just code written by a stranger on the internet!

p.s. If it's any consolation, my main test subject has been my own 10,000+ track RekordBox library--a risk I do not take lightly. :3

Contributing

See CONTRIBUTING.md for development setup, testing, and contribution guidelines.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rekordbox_edit-0.7.0.dev11.tar.gz (3.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rekordbox_edit-0.7.0.dev11-py3-none-any.whl (32.1 kB view details)

Uploaded Python 3

File details

Details for the file rekordbox_edit-0.7.0.dev11.tar.gz.

File metadata

  • Download URL: rekordbox_edit-0.7.0.dev11.tar.gz
  • Upload date:
  • Size: 3.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for rekordbox_edit-0.7.0.dev11.tar.gz
Algorithm Hash digest
SHA256 3ffebf2dbde8fe77092e00b452aff094dff4857d55f710c2689f89e357c39b04
MD5 64f716c1a1e2233a90671b1eb18555eb
BLAKE2b-256 ab09172f8b4fbce754a750fd99552d67efbb5f5cbce53bcdc1c99a94cdf36887

See more details on using hashes here.

Provenance

The following attestation bundles were made for rekordbox_edit-0.7.0.dev11.tar.gz:

Publisher: cd.yml on jviall/rekordbox-edit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rekordbox_edit-0.7.0.dev11-py3-none-any.whl.

File metadata

File hashes

Hashes for rekordbox_edit-0.7.0.dev11-py3-none-any.whl
Algorithm Hash digest
SHA256 f1beb33c9f0bd0654411562e4d3e44ca0943ff55c3ce72160dce8d7039e1e3b3
MD5 4a94164b2cac51cc718baccd4048550f
BLAKE2b-256 df8ca5b50269a6cfeac1f32ed384cfd9c7e56bafa6b60a2c2187dadd9242a274

See more details on using hashes here.

Provenance

The following attestation bundles were made for rekordbox_edit-0.7.0.dev11-py3-none-any.whl:

Publisher: cd.yml on jviall/rekordbox-edit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page