Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Mopidy extension for playing music from a Beets collection

License

NotificationsYou must be signed in to change notification settings

mopidy/mopidy-beets

Repository files navigation

Latest PyPI versionCI build statusTest coverage

Mopidy extension for browsing, searching andplaying music from a music collection managed viaBeets.This extension uses theBeets plugin "web".

Installation

Install by running:

sudo python3 -m pip install Mopidy-Beets

Seehttps://mopidy.com/ext/beets/ for alternative installation methods.

Configuration

  1. Setup theBeets web plugin.

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

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

  4. The Beets library is now accessible in the "browser" section of your Mopidyclient. Additionally searches in Mopidy return results from your Beetslibrary.

Proxy configuration for OGG files (optional)

In case you use a beets version older than 1.6.1, you may need to configurean HTTP reverse-proxy server in front of the Beets web plugin (not mopidy)becauseit does not handle HTTP "Range" requests properly.If you don't apply this workaround, mopidy may not be able to stream/playlarge audio files and/or does not allow you to seek.The is the case for OGG files in particular.

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;        # Hide Range header from beets/flask, preventing range handling        proxy_set_header "Range" "";    }}

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

Usage

  1. Runbeet 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


[8]ページ先頭

©2009-2025 Movatter.jp