Skip to main content

Beets extension for Mopidy

Project description

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

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

Mopidy-Beets-4.0.0rc2.tar.gz (14.3 kB view details)

Uploaded Source

Built Distribution

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

Mopidy_Beets-4.0.0rc2-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

Details for the file Mopidy-Beets-4.0.0rc2.tar.gz.

File metadata

  • Download URL: Mopidy-Beets-4.0.0rc2.tar.gz
  • Upload date:
  • Size: 14.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.7.5rc1

File hashes

Hashes for Mopidy-Beets-4.0.0rc2.tar.gz
Algorithm Hash digest
SHA256 a11e98a01ff567b4e1421d1bd20aa009fd30db066a1d92b4047268073792b35f
MD5 6657c312a261e446c85955f872f4a3d8
BLAKE2b-256 32263fddf9f3e4d7f09ee09724c7cfe9e0660be2f7e5e3e79bbc6ee69ba133bf

See more details on using hashes here.

File details

Details for the file Mopidy_Beets-4.0.0rc2-py3-none-any.whl.

File metadata

  • Download URL: Mopidy_Beets-4.0.0rc2-py3-none-any.whl
  • Upload date:
  • Size: 14.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.7.5rc1

File hashes

Hashes for Mopidy_Beets-4.0.0rc2-py3-none-any.whl
Algorithm Hash digest
SHA256 f07ffd17c4a88399a22a2d69aa8f69b21e52ed8dbd644eedde51883b50997d1d
MD5 247b6b7f881b09e65139428ef97e9555
BLAKE2b-256 93577d1be5572cc2ddde4a8db1c2a5b714201c2e0ae9820e8fb8c54041d33afe

See more details on using hashes here.

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