Skip to main content

Tools for bulk editing RekordBox database records and associated track files

Project description

Rekordbox Bulk Edit

A command-line tool for bulk editing and managing Rekordbox music files and database records.

Features

  • Convert: Convert between lossless audio formats (FLAC, AIFF, WAV) and MP3, updating Rekordbox database records accordingly
  • Read: Read and display track information from Rekordbox database with format filtering support
  • Audio Analysis: Get detailed audio file information including format, bitrate, and metadata
  • Safety Checks: Automatically detects running Rekordbox instances to prevent database corruption
  • Smart Filtering: Skips files already in target format and excludes lossy formats from conversion input
  • Bit Depth Preservation: Maintains original bit depth (16/24/32-bit) for lossless conversions

Installation

  1. Create a virtual environment:

    python3 -m venv venv
    
  2. Activate the virtual environment:

    source venv/bin/activate  # On macOS/Linux
    
  3. Install dependencies:

    pip install -r requirements.txt
    
  4. Install the package:

    pip install -e .
    

Usage

The tool provides a command-line interface with the following commands:

Convert Audio Formats

Convert between lossless audio formats (FLAC, AIFF, WAV) and MP3, updating the Rekordbox database:

rekordbox-bulk-edit convert [OPTIONS]

Supported Conversions:

  • Input formats: FLAC, AIFF, WAV (lossless formats only)
  • Output formats: AIFF, FLAC, WAV, MP3
  • Automatic detection: Skips MP3/M4A files and files already in target format
  • Safety check: Exits if Rekordbox is running to prevent database conflicts

Options:

  • --format [aiff|flac|wav|mp3]: Choose output format (default: aiff)
  • --dry-run: Preview changes without actually performing them
  • --auto-confirm: Skip confirmation prompts (use with caution)

Read Track Information

Display detailed information about tracks in your Rekordbox database:

rekordbox-bulk-edit read [OPTIONS]

Options:

  • --track-id ID: Specify a particular track ID to read
  • --format [mp3|flac|aiff|wav|m4a]: Filter by audio format (shows all formats if not specified)
  • --verbose, -v: Show detailed information

General Options

  • --version: Show the version number
  • --help: Show help information

Examples

# Preview lossless to AIFF conversion without making changes
rekordbox-bulk-edit convert --dry-run

# Convert lossless files to MP3 format
rekordbox-bulk-edit convert --format mp3

# Convert lossless files to FLAC format
rekordbox-bulk-edit convert --format flac

# Convert files with automatic confirmation
rekordbox-bulk-edit convert --auto-confirm

# Read information for a specific track
rekordbox-bulk-edit read --track-id 12345 --verbose

# Show only FLAC files in database
rekordbox-bulk-edit read --format flac

# Show only MP3 files in database
rekordbox-bulk-edit read --format mp3

# Show all available commands
rekordbox-bulk-edit --help

Development

  • Add new dependencies to requirements.txt
  • Activate your virtual environment before working: source venv/bin/activate
  • Deactivate when done: deactivate
  • Install in development mode: pip install -e .

Requirements

  • Python 3.6+
  • Rekordbox database access
  • Audio processing capabilities for FLAC/AIFF conversion

Project details


Download files

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

Source Distribution

rekordbox_bulk_edit-0.2.2.tar.gz (18.4 kB view details)

Uploaded Source

Built Distribution

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

rekordbox_bulk_edit-0.2.2-py3-none-any.whl (13.7 kB view details)

Uploaded Python 3

File details

Details for the file rekordbox_bulk_edit-0.2.2.tar.gz.

File metadata

  • Download URL: rekordbox_bulk_edit-0.2.2.tar.gz
  • Upload date:
  • Size: 18.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for rekordbox_bulk_edit-0.2.2.tar.gz
Algorithm Hash digest
SHA256 d57456984b6cd631af5588218b7725413f5acf6f35718b5dfe2cfa85223b2839
MD5 d0db868c4962e2d40b1bf1c3f286971d
BLAKE2b-256 396c839b1e9abbb1b2be67f7006c8b5a82b1dec5c81794f5fa14b1baba697007

See more details on using hashes here.

Provenance

The following attestation bundles were made for rekordbox_bulk_edit-0.2.2.tar.gz:

Publisher: publish.yml on jviall/rekordbox-bulk-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_bulk_edit-0.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for rekordbox_bulk_edit-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 44f9bbb9eaa70554db967d8bc4bbdd7566febe10eaecad8ef4ec670cf0c93897
MD5 cb6186848861938ef8542d9087f41320
BLAKE2b-256 708bc643cd27d131548a86eb9174fd8ac8912fb57c6df9a8ad4a7a647397e923

See more details on using hashes here.

Provenance

The following attestation bundles were made for rekordbox_bulk_edit-0.2.2-py3-none-any.whl:

Publisher: publish.yml on jviall/rekordbox-bulk-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