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.1.0.tar.gz (10.6 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.1.0-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rekordbox_bulk_edit-0.1.0.tar.gz
  • Upload date:
  • Size: 10.6 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.1.0.tar.gz
Algorithm Hash digest
SHA256 ec83a7bd7bd92a4bf2b35551c6de0642de480fa38db5cd76ce67aee10330ae41
MD5 535eeb835c7f80ef86929ebe98cb5c46
BLAKE2b-256 41987d02d613bdfe97d34dba391d4da01d81e8f75ebe9c477aa090e1d7da9c00

See more details on using hashes here.

Provenance

The following attestation bundles were made for rekordbox_bulk_edit-0.1.0.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.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for rekordbox_bulk_edit-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3cd7610ad1b62dbf6c0fe2a151ccda2d1e2ecc8cdddc65250318301f4166dbde
MD5 709f1677e39f7ee64779d59ccbbc682a
BLAKE2b-256 b6f61e536c9d121a66389f10e651918abf6e2c14ad22006b2fbd307fa8801428

See more details on using hashes here.

Provenance

The following attestation bundles were made for rekordbox_bulk_edit-0.1.0-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