Codebase list mopidy-beets / 11de3fbb-57e3-4b1f-a747-9fca5b6e5547/main
New upstream snapshot. Debian Janitor 2 years ago
11 changed file(s) with 282 addition(s) and 289 deletion(s). Raw diff Collapse all Expand all
+0
-57
.circleci/config.yml less more
0 version: 2.1
1
2 orbs:
3 codecov: codecov/codecov@1.0.5
4
5 workflows:
6 version: 2
7 test:
8 jobs:
9 - py39
10 - py38
11 - py37
12 - black
13 - check-manifest
14 - flake8
15
16 jobs:
17 py39: &test-template
18 docker:
19 - image: mopidy/ci-python:3.9
20 steps:
21 - checkout
22 - restore_cache:
23 name: Restoring tox cache
24 key: tox-v1-{{ .Environment.CIRCLE_JOB }}-{{ checksum "setup.cfg" }}
25 - run:
26 name: Run tests
27 command: |
28 tox -e $CIRCLE_JOB -- \
29 --junit-xml=test-results/pytest/results.xml \
30 --cov-report=xml
31 - save_cache:
32 name: Saving tox cache
33 key: tox-v1-{{ .Environment.CIRCLE_JOB }}-{{ checksum "setup.cfg" }}
34 paths:
35 - ./.tox
36 - ~/.cache/pip
37 - codecov/upload:
38 file: coverage.xml
39 - store_test_results:
40 path: test-results
41
42 py38:
43 <<: *test-template
44 docker:
45 - image: mopidy/ci-python:3.8
46
47 py37:
48 <<: *test-template
49 docker:
50 - image: mopidy/ci-python:3.7
51
52 black: *test-template
53
54 check-manifest: *test-template
55
56 flake8: *test-template
0 name: CI
1
2 on: [push, pull_request]
3
4 jobs:
5 main:
6 strategy:
7 fail-fast: false
8 matrix:
9 include:
10 - name: "Test: Python 3.7"
11 python: "3.7"
12 tox: py37
13 - name: "Test: Python 3.8"
14 python: "3.8"
15 tox: py38
16 - name: "Test: Python 3.9"
17 python: "3.9"
18 tox: py39
19 coverage: true
20 - name: "Lint: check-manifest"
21 python: "3.9"
22 tox: check-manifest
23 - name: "Lint: flake8"
24 python: "3.9"
25 tox: flake8
26
27 name: ${{ matrix.name }}
28 runs-on: ubuntu-20.04
29 container: ghcr.io/mopidy/ci:latest
30
31 steps:
32 - uses: actions/checkout@v2
33 - uses: actions/setup-python@v2
34 with:
35 python-version: ${{ matrix.python }}
36 - name: Fix home dir permissions to enable pip caching
37 run: chown -R root /github/home
38 - name: Cache pip
39 uses: actions/cache@v2
40 with:
41 path: ~/.cache/pip
42 key: ${{ runner.os }}-${{ matrix.python }}-${{ matrix.tox }}-pip-${{ hashFiles('setup.cfg') }}-${{ hashFiles('tox.ini') }}
43 restore-keys: |
44 ${{ runner.os }}-${{ matrix.python }}-${{ matrix.tox }}-pip-
45 - run: python -m pip install pygobject tox
46 - run: python -m tox -e ${{ matrix.tox }}
47 if: ${{ ! matrix.coverage }}
48 - run: python -m tox -e ${{ matrix.tox }} -- --cov-report=xml
49 if: ${{ matrix.coverage }}
50 - uses: codecov/codecov-action@v1
51 if: ${{ matrix.coverage }}
66 include pyproject.toml
77 include tox.ini
88
9 recursive-include .circleci *
109 recursive-include .github *
1110
1211 include mopidy_*/ext.conf
55 Author: Lars Kruse
66 Author-email: devel@sumpfralle.de
77 License: MIT
8 Description: ************
9 Mopidy-Beets
10 ************
11
12 .. image:: https://img.shields.io/pypi/v/Mopidy-Beets
13 :target: https://pypi.org/project/Mopidy-Beets/
14 :alt: Latest PyPI version
15
16 .. image:: https://img.shields.io/circleci/build/gh/mopidy/mopidy-beets
17 :target: https://circleci.com/gh/mopidy/mopidy-beets
18 :alt: CircleCI build status
19
20 .. image:: https://img.shields.io/codecov/c/gh/mopidy/mopidy-beets
21 :target: https://codecov.io/gh/mopidy/mopidy-beets
22 :alt: Test coverage
23
24 `Mopidy <https://mopidy.com/>`_ extension for browsing, searching and
25 playing music from `Beets <https://beets.io/>`_ via Beets' web extension.
26
27
28 Installation
29 ============
30
31 Install by running::
32
33 sudo python3 -m pip install Mopidy-Beets
34
35 See https://mopidy.com/ext/beets/ for alternative installation methods.
36
37
38 Configuration
39 =============
40
41 #. Setup the `Beets web plugin
42 <https://beets.readthedocs.org/en/latest/plugins/web.html>`_.
43
44 #. Tell Mopidy where to find the Beets web interface by adding the following to
45 your ``mopidy.conf``::
46
47 [beets]
48 hostname = 127.0.0.1
49 port = 8337
50
51 #. Restart Mopidy.
52
53 #. The Beets library is now accessible in the "browser" section of your Mopidy
54 client. Additionally searches in Mopidy return results from your Beets
55 library.
56
57 Proxy configuration for OGG files (optional)
58 --------------------------------------------
59
60 You may want to configure an http proxy server in front of your Beets plugin
61 (not mopidy). Otherwise you could have problems with playing OGG files and
62 other formats that require seeking (in technical terms: support for http
63 "Range" requests is required for these files).
64
65 The following Nginx configuration snippet is sufficient::
66
67 server {
68 listen 127.0.0.1:8338;
69 root /usr/share/beets/beetsplug/web;
70 server_name beets.local;
71 location / {
72 proxy_pass http://localhost:8337;
73 # this statement forces Nginx to emulate "Range" responses
74 proxy_force_ranges on;
75 }
76 }
77
78 Now you should change the mopidy configuration accordingly to point to the
79 Nginx port above instead of the Beets port. Afterwards mopidy will be able to
80 play file formats that require seeking.
81
82
83 Usage
84 =====
85
86 #. Run ``beet web`` to start the Beets web interface.
87
88 #. Start Mopidy and access your Beets library via any Mopidy client:
89
90 * Browse your collection by album
91
92 * Search for tracks or albums
93
94 * Let the music play!
95
96
97 Project resources
98 =================
99
100 - `Source code <https://github.com/mopidy/mopidy-beets>`_
101 - `Issue tracker <https://github.com/mopidy/mopidy-beets/issues>`_
102 - `Changelog <https://github.com/mopidy/mopidy-beets/releases>`_
103
104
105 Credits
106 =======
107
108 - Original author: `Janez Troha <https://github.com/dz0ny>`_
109 - Current maintainer: `Lars Kruse <devel@sumpfralle.de>`_
110 - `Contributors <https://github.com/mopidy/mopidy-beets/graphs/contributors>`_
111
1128 Platform: UNKNOWN
1139 Classifier: Environment :: No Input/Output (Daemon)
11410 Classifier: Intended Audience :: End Users/Desktop
12016 Classifier: Programming Language :: Python :: 3.9
12117 Classifier: Topic :: Multimedia :: Sound/Audio :: Players
12218 Requires-Python: >=3.7
19 Provides-Extra: dev
12320 Provides-Extra: lint
124 Provides-Extra: release
12521 Provides-Extra: test
126 Provides-Extra: dev
22 License-File: LICENSE
23
24 ************
25 Mopidy-Beets
26 ************
27
28 .. image:: https://img.shields.io/pypi/v/Mopidy-Beets
29 :target: https://pypi.org/project/Mopidy-Beets/
30 :alt: Latest PyPI version
31
32 .. image:: https://img.shields.io/github/workflow/status/mopidy/mopidy-beets/CI
33 :target: https://github.com/mopidy/mopidy-beets/actions
34 :alt: CI build status
35
36 .. image:: https://img.shields.io/codecov/c/gh/mopidy/mopidy-beets
37 :target: https://codecov.io/gh/mopidy/mopidy-beets
38 :alt: Test coverage
39
40 `Mopidy <https://mopidy.com/>`_ extension for browsing, searching and
41 playing music from `Beets <https://beets.io/>`_ via Beets' web extension.
42
43
44 Installation
45 ============
46
47 Install by running::
48
49 sudo python3 -m pip install Mopidy-Beets
50
51 See https://mopidy.com/ext/beets/ for alternative installation methods.
52
53
54 Configuration
55 =============
56
57 #. Setup the `Beets web plugin
58 <https://beets.readthedocs.org/en/latest/plugins/web.html>`_.
59
60 #. Tell Mopidy where to find the Beets web interface by adding the following to
61 your ``mopidy.conf``::
62
63 [beets]
64 hostname = 127.0.0.1
65 port = 8337
66
67 #. Restart Mopidy.
68
69 #. The Beets library is now accessible in the "browser" section of your Mopidy
70 client. Additionally searches in Mopidy return results from your Beets
71 library.
72
73 Proxy configuration for OGG files (optional)
74 --------------------------------------------
75
76 You may want to configure an http proxy server in front of your Beets plugin
77 (not mopidy). Otherwise you could have problems with playing OGG files and
78 other formats that require seeking (in technical terms: support for http
79 "Range" requests is required for these files).
80
81 The following Nginx configuration snippet is sufficient::
82
83 server {
84 listen 127.0.0.1:8338;
85 root /usr/share/beets/beetsplug/web;
86 server_name beets.local;
87 location / {
88 proxy_pass http://localhost:8337;
89 # this statement forces Nginx to emulate "Range" responses
90 proxy_force_ranges on;
91 }
92 }
93
94 Now you should change the mopidy configuration accordingly to point to the
95 Nginx port above instead of the Beets port. Afterwards mopidy will be able to
96 play file formats that require seeking.
97
98
99 Usage
100 =====
101
102 #. Run ``beet web`` to start the Beets web interface.
103
104 #. Start Mopidy and access your Beets library via any Mopidy client:
105
106 * Browse your collection by album
107
108 * Search for tracks or albums
109
110 * Let the music play!
111
112
113 Project resources
114 =================
115
116 - `Source code <https://github.com/mopidy/mopidy-beets>`_
117 - `Issue tracker <https://github.com/mopidy/mopidy-beets/issues>`_
118 - `Changelog <https://github.com/mopidy/mopidy-beets/releases>`_
119
120
121 Credits
122 =======
123
124 - Original author: `Janez Troha <https://github.com/dz0ny>`_
125 - Current maintainer: `Lars Kruse <devel@sumpfralle.de>`_
126 - `Contributors <https://github.com/mopidy/mopidy-beets/graphs/contributors>`_
127
128
55 setup.cfg
66 setup.py
77 tox.ini
8 .circleci/config.yml
8 .github/workflows/ci.yml
99 .github/workflows/release.yml
1010 Mopidy_Beets.egg-info/PKG-INFO
1111 Mopidy_Beets.egg-info/SOURCES.txt
66 black
77 check-manifest
88 flake8
9 flake8-black
910 flake8-bugbear
1011 flake8-import-order
1112 isort[pyproject]
12 build
13 twine
1413 pytest
1514 pytest-cov
1615
1817 black
1918 check-manifest
2019 flake8
20 flake8-black
2121 flake8-bugbear
2222 flake8-import-order
2323 isort[pyproject]
2424
25 [release]
26 build
27 twine
28
2925 [test]
3026 pytest
3127 pytest-cov
+108
-106
PKG-INFO less more
55 Author: Lars Kruse
66 Author-email: devel@sumpfralle.de
77 License: MIT
8 Description: ************
9 Mopidy-Beets
10 ************
11
12 .. image:: https://img.shields.io/pypi/v/Mopidy-Beets
13 :target: https://pypi.org/project/Mopidy-Beets/
14 :alt: Latest PyPI version
15
16 .. image:: https://img.shields.io/circleci/build/gh/mopidy/mopidy-beets
17 :target: https://circleci.com/gh/mopidy/mopidy-beets
18 :alt: CircleCI build status
19
20 .. image:: https://img.shields.io/codecov/c/gh/mopidy/mopidy-beets
21 :target: https://codecov.io/gh/mopidy/mopidy-beets
22 :alt: Test coverage
23
24 `Mopidy <https://mopidy.com/>`_ extension for browsing, searching and
25 playing music from `Beets <https://beets.io/>`_ via Beets' web extension.
26
27
28 Installation
29 ============
30
31 Install by running::
32
33 sudo python3 -m pip install Mopidy-Beets
34
35 See https://mopidy.com/ext/beets/ for alternative installation methods.
36
37
38 Configuration
39 =============
40
41 #. Setup the `Beets web plugin
42 <https://beets.readthedocs.org/en/latest/plugins/web.html>`_.
43
44 #. Tell Mopidy where to find the Beets web interface by adding the following to
45 your ``mopidy.conf``::
46
47 [beets]
48 hostname = 127.0.0.1
49 port = 8337
50
51 #. Restart Mopidy.
52
53 #. The Beets library is now accessible in the "browser" section of your Mopidy
54 client. Additionally searches in Mopidy return results from your Beets
55 library.
56
57 Proxy configuration for OGG files (optional)
58 --------------------------------------------
59
60 You may want to configure an http proxy server in front of your Beets plugin
61 (not mopidy). Otherwise you could have problems with playing OGG files and
62 other formats that require seeking (in technical terms: support for http
63 "Range" requests is required for these files).
64
65 The following Nginx configuration snippet is sufficient::
66
67 server {
68 listen 127.0.0.1:8338;
69 root /usr/share/beets/beetsplug/web;
70 server_name beets.local;
71 location / {
72 proxy_pass http://localhost:8337;
73 # this statement forces Nginx to emulate "Range" responses
74 proxy_force_ranges on;
75 }
76 }
77
78 Now you should change the mopidy configuration accordingly to point to the
79 Nginx port above instead of the Beets port. Afterwards mopidy will be able to
80 play file formats that require seeking.
81
82
83 Usage
84 =====
85
86 #. Run ``beet web`` to start the Beets web interface.
87
88 #. Start Mopidy and access your Beets library via any Mopidy client:
89
90 * Browse your collection by album
91
92 * Search for tracks or albums
93
94 * Let the music play!
95
96
97 Project resources
98 =================
99
100 - `Source code <https://github.com/mopidy/mopidy-beets>`_
101 - `Issue tracker <https://github.com/mopidy/mopidy-beets/issues>`_
102 - `Changelog <https://github.com/mopidy/mopidy-beets/releases>`_
103
104
105 Credits
106 =======
107
108 - Original author: `Janez Troha <https://github.com/dz0ny>`_
109 - Current maintainer: `Lars Kruse <devel@sumpfralle.de>`_
110 - `Contributors <https://github.com/mopidy/mopidy-beets/graphs/contributors>`_
111
1128 Platform: UNKNOWN
1139 Classifier: Environment :: No Input/Output (Daemon)
11410 Classifier: Intended Audience :: End Users/Desktop
12016 Classifier: Programming Language :: Python :: 3.9
12117 Classifier: Topic :: Multimedia :: Sound/Audio :: Players
12218 Requires-Python: >=3.7
19 Provides-Extra: dev
12320 Provides-Extra: lint
124 Provides-Extra: release
12521 Provides-Extra: test
126 Provides-Extra: dev
22 License-File: LICENSE
23
24 ************
25 Mopidy-Beets
26 ************
27
28 .. image:: https://img.shields.io/pypi/v/Mopidy-Beets
29 :target: https://pypi.org/project/Mopidy-Beets/
30 :alt: Latest PyPI version
31
32 .. image:: https://img.shields.io/github/workflow/status/mopidy/mopidy-beets/CI
33 :target: https://github.com/mopidy/mopidy-beets/actions
34 :alt: CI build status
35
36 .. image:: https://img.shields.io/codecov/c/gh/mopidy/mopidy-beets
37 :target: https://codecov.io/gh/mopidy/mopidy-beets
38 :alt: Test coverage
39
40 `Mopidy <https://mopidy.com/>`_ extension for browsing, searching and
41 playing music from `Beets <https://beets.io/>`_ via Beets' web extension.
42
43
44 Installation
45 ============
46
47 Install by running::
48
49 sudo python3 -m pip install Mopidy-Beets
50
51 See https://mopidy.com/ext/beets/ for alternative installation methods.
52
53
54 Configuration
55 =============
56
57 #. Setup the `Beets web plugin
58 <https://beets.readthedocs.org/en/latest/plugins/web.html>`_.
59
60 #. Tell Mopidy where to find the Beets web interface by adding the following to
61 your ``mopidy.conf``::
62
63 [beets]
64 hostname = 127.0.0.1
65 port = 8337
66
67 #. Restart Mopidy.
68
69 #. The Beets library is now accessible in the "browser" section of your Mopidy
70 client. Additionally searches in Mopidy return results from your Beets
71 library.
72
73 Proxy configuration for OGG files (optional)
74 --------------------------------------------
75
76 You may want to configure an http proxy server in front of your Beets plugin
77 (not mopidy). Otherwise you could have problems with playing OGG files and
78 other formats that require seeking (in technical terms: support for http
79 "Range" requests is required for these files).
80
81 The following Nginx configuration snippet is sufficient::
82
83 server {
84 listen 127.0.0.1:8338;
85 root /usr/share/beets/beetsplug/web;
86 server_name beets.local;
87 location / {
88 proxy_pass http://localhost:8337;
89 # this statement forces Nginx to emulate "Range" responses
90 proxy_force_ranges on;
91 }
92 }
93
94 Now you should change the mopidy configuration accordingly to point to the
95 Nginx port above instead of the Beets port. Afterwards mopidy will be able to
96 play file formats that require seeking.
97
98
99 Usage
100 =====
101
102 #. Run ``beet web`` to start the Beets web interface.
103
104 #. Start Mopidy and access your Beets library via any Mopidy client:
105
106 * Browse your collection by album
107
108 * Search for tracks or albums
109
110 * Let the music play!
111
112
113 Project resources
114 =================
115
116 - `Source code <https://github.com/mopidy/mopidy-beets>`_
117 - `Issue tracker <https://github.com/mopidy/mopidy-beets/issues>`_
118 - `Changelog <https://github.com/mopidy/mopidy-beets/releases>`_
119
120
121 Credits
122 =======
123
124 - Original author: `Janez Troha <https://github.com/dz0ny>`_
125 - Current maintainer: `Lars Kruse <devel@sumpfralle.de>`_
126 - `Contributors <https://github.com/mopidy/mopidy-beets/graphs/contributors>`_
127
128
55 :target: https://pypi.org/project/Mopidy-Beets/
66 :alt: Latest PyPI version
77
8 .. image:: https://img.shields.io/circleci/build/gh/mopidy/mopidy-beets
9 :target: https://circleci.com/gh/mopidy/mopidy-beets
10 :alt: CircleCI build status
8 .. image:: https://img.shields.io/github/workflow/status/mopidy/mopidy-beets/CI
9 :target: https://github.com/mopidy/mopidy-beets/actions
10 :alt: CI build status
1111
1212 .. image:: https://img.shields.io/codecov/c/gh/mopidy/mopidy-beets
1313 :target: https://codecov.io/gh/mopidy/mopidy-beets
0 mopidy-beets (4.0.1+git20210102.1.d5b1b91-1) UNRELEASED; urgency=low
1
2 * New upstream snapshot.
3
4 -- Debian Janitor <janitor@jelmer.uk> Sat, 16 Apr 2022 03:31:29 -0000
5
06 mopidy-beets (4.0.1-1) unstable; urgency=medium
17
28 * New upstream release
3434 black
3535 check-manifest
3636 flake8
37 flake8-black
3738 flake8-bugbear
3839 flake8-import-order
3940 isort[pyproject]
40 release =
41 build
42 twine
4341 test =
4442 pytest
4543 pytest-cov
4644 dev =
4745 %(lint)s
48 %(release)s
4946 %(test)s
5047
5148 [options.packages.find]
00 [tox]
1 envlist = py37, py38, py39, black, check-manifest, flake8
1 envlist = py37, py38, py39, check-manifest, flake8
22
33 [testenv]
44 sitepackages = true
99 --cov=mopidy_beets --cov-report=term-missing \
1010 {posargs}
1111
12 [testenv:black]
13 deps = .[lint]
14 commands = python -m black --check .
15
1612 [testenv:check-manifest]
1713 deps = .[lint]
1814 commands = python -m check_manifest