| 1 |
Metadata-Version: 2.1 |
| 2 |
Name: Mopidy-Beets |
| 3 |
Version: 4.0.1 |
| 4 |
Summary: Beets extension for Mopidy |
| 5 |
Home-page: https://github.com/mopidy/mopidy-beets |
| 6 |
Author: Lars Kruse |
| 7 |
Author-email: [email protected] |
| 8 |
License: MIT |
| 9 |
Description: ************ |
| 10 |
Mopidy-Beets |
| 11 |
************ |
| 12 |
|
| 13 |
.. image:: https://img.shields.io/pypi/v/Mopidy-Beets |
| 14 |
:target: https://pypi.org/project/Mopidy-Beets/ |
| 15 |
:alt: Latest PyPI version |
| 16 |
|
| 17 |
.. image:: https://img.shields.io/circleci/build/gh/mopidy/mopidy-beets |
| 18 |
:target: https://circleci.com/gh/mopidy/mopidy-beets |
| 19 |
:alt: CircleCI build status |
| 20 |
|
| 21 |
.. image:: https://img.shields.io/codecov/c/gh/mopidy/mopidy-beets |
| 22 |
:target: https://codecov.io/gh/mopidy/mopidy-beets |
| 23 |
:alt: Test coverage |
| 24 |
|
| 25 |
`Mopidy <https://mopidy.com/>`_ extension for browsing, searching and |
| 26 |
playing music from `Beets <https://beets.io/>`_ via Beets' web extension. |
| 27 |
|
| 28 |
|
| 29 |
Installation |
| 30 |
============ |
| 31 |
|
| 32 |
Install by running:: |
| 33 |
|
| 34 |
sudo python3 -m pip install Mopidy-Beets |
| 35 |
|
| 36 |
See https://mopidy.com/ext/beets/ for alternative installation methods. |
| 37 |
|
| 38 |
|
| 39 |
Configuration |
| 40 |
============= |
| 41 |
|
| 42 |
#. Setup the `Beets web plugin |
| 43 |
<https://beets.readthedocs.org/en/latest/plugins/web.html>`_. |
| 44 |
|
| 45 |
#. Tell Mopidy where to find the Beets web interface by adding the following to |
| 46 |
your ``mopidy.conf``:: |
| 47 |
|
| 48 |
[beets] |
| 49 |
hostname = 127.0.0.1 |
| 50 |
port = 8337 |
| 51 |
|
| 52 |
#. Restart Mopidy. |
| 53 |
|
| 54 |
#. The Beets library is now accessible in the "browser" section of your Mopidy |
| 55 |
client. Additionally searches in Mopidy return results from your Beets |
| 56 |
library. |
| 57 |
|
| 58 |
Proxy configuration for OGG files (optional) |
| 59 |
-------------------------------------------- |
| 60 |
|
| 61 |
You may want to configure an http proxy server in front of your Beets plugin |
| 62 |
(not mopidy). Otherwise you could have problems with playing OGG files and |
| 63 |
other formats that require seeking (in technical terms: support for http |
| 64 |
"Range" requests is required for these files). |
| 65 |
|
| 66 |
The following Nginx configuration snippet is sufficient:: |
| 67 |
|
| 68 |
server { |
| 69 |
listen 127.0.0.1:8338; |
| 70 |
root /usr/share/beets/beetsplug/web; |
| 71 |
server_name beets.local; |
| 72 |
location / { |
| 73 |
proxy_pass http://localhost:8337; |
| 74 |
# this statement forces Nginx to emulate "Range" responses |
| 75 |
proxy_force_ranges on; |
| 76 |
} |
| 77 |
} |
| 78 |
|
| 79 |
Now you should change the mopidy configuration accordingly to point to the |
| 80 |
Nginx port above instead of the Beets port. Afterwards mopidy will be able to |
| 81 |
play file formats that require seeking. |
| 82 |
|
| 83 |
|
| 84 |
Usage |
| 85 |
===== |
| 86 |
|
| 87 |
#. Run ``beet web`` to start the Beets web interface. |
| 88 |
|
| 89 |
#. Start Mopidy and access your Beets library via any Mopidy client: |
| 90 |
|
| 91 |
* Browse your collection by album |
| 92 |
|
| 93 |
* Search for tracks or albums |
| 94 |
|
| 95 |
* Let the music play! |
| 96 |
|
| 97 |
|
| 98 |
Project resources |
| 99 |
================= |
| 100 |
|
| 101 |
- `Source code <https://github.com/mopidy/mopidy-beets>`_ |
| 102 |
- `Issue tracker <https://github.com/mopidy/mopidy-beets/issues>`_ |
| 103 |
- `Changelog <https://github.com/mopidy/mopidy-beets/releases>`_ |
| 104 |
|
| 105 |
|
| 106 |
Credits |
| 107 |
======= |
| 108 |
|
| 109 |
- Original author: `Janez Troha <https://github.com/dz0ny>`_ |
| 110 |
- Current maintainer: `Lars Kruse <[email protected]>`_ |
| 111 |
- `Contributors <https://github.com/mopidy/mopidy-beets/graphs/contributors>`_ |
| 112 |
|
| 113 |
Platform: UNKNOWN |
| 114 |
Classifier: Environment :: No Input/Output (Daemon) |
| 115 |
Classifier: Intended Audience :: End Users/Desktop |
| 116 |
Classifier: License :: OSI Approved :: MIT License |
| 117 |
Classifier: Operating System :: OS Independent |
| 118 |
Classifier: Programming Language :: Python :: 3 |
| 119 |
Classifier: Programming Language :: Python :: 3.7 |
| 120 |
Classifier: Programming Language :: Python :: 3.8 |
| 121 |
Classifier: Programming Language :: Python :: 3.9 |
| 122 |
Classifier: Topic :: Multimedia :: Sound/Audio :: Players |
| 123 |
Requires-Python: >=3.7 |
| 124 |
Provides-Extra: lint |
| 125 |
Provides-Extra: release |
| 126 |
Provides-Extra: test |
| 127 |
Provides-Extra: dev |