Beets extension for Mopidy
Project description
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
Setup the Beets web plugin.
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
Restart Mopidy.
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
Run beet web to start the Beets web interface.
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
Original author: Janez Troha
Current maintainer: Lars Kruse
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for Mopidy_Beets-4.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0acddba880405ba657eff3561cd927a3b2ec2c662c854340bcff2b7e125c26aa |
|
MD5 | 5c088f08c37d6cd4c48058df29938cec |
|
BLAKE2b-256 | 9954ce41456223500997643f6f52b9b7cf617e636d73dadfd5df5163a4f5e9ab |