February 01, 2025

beetbridge

beetbridge: Connecting Beets and OneTagger for comprehensive music metadata management

A view of the user

Information architecture is hard. Making sense of a mess of files and metadata is critical for DJs and audiophiles, who have tens of thousands of songs with differing structures and information. Beets is an open source library manager allowing users to organize their music collections in ways that work for them, including getting the right information like the release year or the genre.

For DJs, this metadata structure is read by software to organize music into similar genres, vibes, and speeds - automatically. Getting the right metadata structure is incredibly hard, with several different databases like Discogs and Musicbrainz, all of which have different approaches to metadata governance.

The Solution

beetbridge is an open-source plugin that connects two powerful music management tools:

The plugin automates the process of passing music through both systems, eliminating manual steps and ensuring consistent results.

Key Features

Automated Workflow

Rich Metadata Integration

Command Line Interface Design

Technical Implementation

Configuration

Each user will have different needs and opinions on their metadata structure, so the plugin is built with flexibility in mind. Users have control over how files are processed by providing their configuration information, and beetbridge does the rest.

onetagger:
    executable: path/to/onetagger-cli
    config: path/to/onetagger/config.json

Designing for CLI interfaces is a unique challenge. The interface is designed to show feedback and state dynamically as import calls are being made, which can be a lengthy process as the round-trip call to metadata APIs can take a few seconds.

Impact

The plugin enables powerful music organization capabilities for DJs and audiophiles: