Skip to main content

Mopidy-Beets

Latest PyPI version CircleCI build status Test coverage

Mopidy extension for browsing, searching and playing music from Beets via Beets’ web extension.

Installation

Install by running:

sudo python3 -m pip install Mopidy-Beets

See https://mopidy.com/ext/beets/ for alternative installation methods.

Configuration

  1. Setup the Beets web plugin.

  2. Tell Mopidy where to find the Beets web interface by adding the following to your mopidy.conf:

    [beets]
    hostname = 127.0.0.1
    port = 8337
  3. Restart Mopidy.

  4. The Beets library is now accessible in the “browser” section of your Mopidy client. Additionally searches in Mopidy return results from your Beets library.

Proxy configuration for OGG files (optional)

You may want to configure an http proxy server in front of your Beets plugin (not mopidy). Otherwise you could have problems with playing OGG files and other formats that require seeking (in technical terms: support for http “Range” requests is required for these files).

The following Nginx configuration snippet is sufficient:

server {
    listen 127.0.0.1:8338;
    root /usr/share/beets/beetsplug/web;
    server_name beets.local;
    location / {
        proxy_pass http://localhost:8337;
        # this statement forces Nginx to emulate "Range" responses
        proxy_force_ranges on;
    }
}

Now you should change the mopidy configuration accordingly to point to the Nginx port above instead of the Beets port. Afterwards mopidy will be able to play file formats that require seeking.

Usage

  1. Run beet web to start the Beets web interface.

  2. Start Mopidy and access your Beets library via any Mopidy client:

    • Browse your collection by album

    • Search for tracks or albums

    • Let the music play!

Project resources

Credits

Release files for mopidy-beets 4.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mopidy-beets 4.0.0
File Size Uploaded
Mopidy-Beets-4.0.0.tar.gz 14.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mopidy-beets 4.0.0
File Interpreter ABI Platform
Mopidy_Beets-4.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 28.9 kB

Release files / Mopidy-Beets-4.0.0.tar.gz

Download URL Mopidy-Beets-4.0.0.tar.gz
Size 14.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c7455617e3f96c893181aec41b54d4b5a54daf1514ea6d2313abb69bfb78e186
BLAKE2b-256 checksum
How to use checksums
0e5972ac45e8a6b37a81d89df24052275c6a313bdcdde23eb7b6ce130433854d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/43.0.0 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.7.5

Release files / Mopidy_Beets-4.0.0-py3-none-any.whl

Download URL Mopidy_Beets-4.0.0-py3-none-any.whl
Size 14.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b0076040dc25b6084db555d6fb057aefcabbe159f8fb39705ad39324086344e3
BLAKE2b-256 checksum
How to use checksums
f8b9877e070d87a5a8923f4eab26c828a1b857cd7fba4cad9079c5cb2bf048f7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/43.0.0 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.7.5
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page