Mopidy extension for browsing, searching and playing music from Beets via Beets' web extension.
Install by running:
pip install Mopidy-Beets
Or, if available, install the Debian/Ubuntu package from apt.mopidy.com.
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 = 8888
Restart Mopidy.
Searches in Mopidy will now return results from your Beets library.
You may want to configure an http proxy server in front of your beets installation. 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:8889; root /usr/share/beets/beetsplug/web; server_name beets.local; location / { proxy_pass http://localhost:8888; # 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 intead of the Beets port. Afterwards mopidy will be able to play file formats that require seeking.
- 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!
- Original author: Janez Troha
- Current maintainer: Lars Kruse
- Contributors
- Support browsing albums by artist, genre and year
- Improved search (more categories, more precise)
- Align with Mopidy's current extension guidelines
- Require Mopidy >= 1.0.
- Update to work with new playback API in Mopidy 1.0.
- Update to work with new backend search API in Mopidy 1.0.
- Require Requests >= 2.0.
- Updated extension and backend APIs to match Mopidy 0.18.
- Require Requests >= 1.0, as 0.x does not seem to be enough. (Fixes: #7)
- Remove hacks for Python 2.6 compatibility.
- Change search field
track
totrack_name
for compatibility with Mopidy 0.17. (Fixes: mopidy/mopidy#610)
- Properly encode search queries containing non-ASCII chars.
- Rename logger to
mopidy_beets
.
- Fix search.
- Initial release.