Commit Graph
3509 Commits
Author SHA1 Message Date
Šarūnas Nejus d7bf28deed Replace setup.py packaging by Poetry (#5266)
Migrate `beets` package configuration to Poetry which nowadays seems to
be the gold standard.

I have been using Poetry since 2019 and I have mostly been happy a happy
user: it makes local dev setup easy and has the tools I need to maintain
python packages day to day, including reliable dependency resolution,
versioning and publishing to Pypi.

It's a user-friendly tool, so it should make it more straightforward for
contributors to setup and navigate the codebase, and ultimately,
hopefully facilitate more frequent releases!

Since poetry manages local virtual environment, we do not have much need
for tox any more. Therefore, it was replaced by a task runner
`poethepoet`. Type `poe` in the project directory to see the available
commands.

- [x] Documentation. (If you've added a new command-line flag, for
example, find the appropriate page under `docs/` to describe it.)
- [x] Changelog. (Add an entry to `docs/changelog.rst` to the bottom of
one of the lists near the top of the document.)
- [x] Tests. (Very much encouraged but not strictly required.)
2024-06-12 10:59:24 +01:00
Šarūnas Nejus c2a13ee4b1 Format docs/conf.py 2024-06-11 15:22:58 +01:00
Leonardo Santos a7169d0645 small grammar corrections 2024-06-10 20:18:58 -03:00
Šarūnas Nejus a4ed6ab62a Document the changes 2024-06-10 13:46:27 +01:00
Šarūnas Nejus 7bbd215efc Update all docs with Poetry 2024-06-10 13:10:16 +01:00
Serene f01d80902b Fix reflink: "auto" option (#5288) 2024-06-10 20:20:21 +10:00
Leo Nikkilä 7bcca193d5 Fix reflink: "auto" option
The docs say:

> The `auto` option uses reflinks when possible and falls back to plain
> copying when necessary.

I've been using this option for a while, and recently discovered that
despite the option, copying fails between two BTRFS filesystems with:

    Error: OS/filesystem does not support reflinks. during link of paths /mnt/fs1/file, /mnt/fs2/file

I tracked this down to how the configuration is handled in the importer.
2024-06-08 01:26:24 +03:00
Šarūnas Nejus 3e5e1eca87 release.py: simplify bumping the version
Additionally, update the 'in progress' header in the changelog: instead
of using a specific version number, simply say 'Unreleased' since we do
not know in advance what version will the changes be eventually
released.

This also simplifies latest changelog retrieval.
2024-06-07 09:01:44 +01:00
Šarūnas Nejus 0aa361e6c8 Remove support for Python 3.7 in the build and docs 2024-06-05 04:41:02 +01:00
Kirill A. Korinsky d8ea474764 Update changelog.rst 2024-06-03 13:28:47 +02:00
Serene 731acd848c Add timeout argument to all requests calls (#5262) 2024-06-02 14:44:28 +10:00
Serene-Arc 6edd80a1d5 Fix changelog version 2024-05-30 14:21:30 +10:00
Serene-Arc 33ab22db8c Increment version numbers to 2.0.0 2024-05-30 04:05:25 +00:00
Lev Gorodetskiy 53d72c14ea Update changelog 2024-05-25 12:28:08 -03:00
Serene 7543a351ed Merge pull request #5184 from freddiewanah/master
Enhancement: Refactor Test Code for Efficiency and Quality
2024-04-21 09:06:38 +10:00
J0J0 Todos d510177820 Merge pull request #5121 from mgoltzsche/generate-playlist-item-attributes 2024-04-20 08:04:32 +02:00
Max Goltzsche 2e9308f713 docs: mention autogenre plugin 2024-04-20 05:33:48 +02:00
Max Goltzsche 2821eac973 docs: add smartplaylist example config and m3u 2024-04-20 05:33:20 +02:00
ktetzlaff b47635dc29 Prefer VISUAL environment variable over EDITOR
When unix tools make use of an external editor, they typically check the
environment variable VISUAL and fall back to EDITOR. This commit adds the
additional check for VISUAL to the existing EDITOR check (where VISUAL is
preferred over EDITOR).
2024-04-14 12:15:30 +02:00
Serene 125f26fdb1 Merge pull request #5160 from Dr-Blank/bug-unimported-failing-to-ignore-subdirectories 2024-04-14 12:58:53 +10:00
Max Goltzsche 3c6309fe22 docs: mention Beetstream and webrouter plugins
Also, moves the webm3u plugin link from tne interoperability section to the "Other Plugins" section of the documentation.
2024-04-13 04:55:43 +02:00
Max Goltzsche 883bbb3e4b smartplaylist: rename output format m3u8 to extm3u 2024-04-13 04:55:43 +02:00
Max Goltzsche c0afd3eb3c smartplaylist: allow exporting item fields
Allow generating extm3u playlists so that they contain additional item fields such as the `id`.

The feature is required by the mgoltzsche/beets-webm3u plugin (M3U server) to transform playlists using a request based item URI template which may require additional fields such as the `id`, e.g. `beets:library:track;$id`.
2024-04-13 04:55:37 +02:00
Dr-Blank c3e922e2d2 missing changelog for #5153 2024-04-11 14:12:46 -04:00
Dr-Blank 640c9613c0 add changelog for bug fix 2024-04-11 13:01:04 -04:00
freddiewanah 52271bc093 update changelog 2024-04-10 15:57:37 +02:00
InvisibleFunction 33c8ae7a4b Update in response to comments 2024-03-07 09:11:54 -05:00
InvisibleFunction 94e294581b Update Changelog 2024-03-06 09:12:58 -05:00
Serene 3548e35360 Merge pull request #5122 from Bobo1239/master
convert: Correctly identify WAVE format as lossless
2024-03-02 09:05:53 +10:00
Boris-Chengbiao Zhou 47ba590999 convert: Correctly identify WAVE format as lossless
Seems like this entry was added before mediafile gained support for WAVE
files in commit 832f3d. Adjust it to fix detection.
2024-03-01 17:58:26 +01:00
Serene fa8b1201c3 Merge pull request #5103 from Josef-Friedrich/remove-unused-functions
Remove unused functions
2024-03-01 15:59:31 +10:00
Serene 35e8eb985f Merge pull request #5058 from arsaboo/lb
Add initial version of the Listenbrainz plugin
2024-03-01 15:51:50 +10:00
J0J0 Todos dae525741b Merge pull request #5096 from raspbeguy/alpine 2024-02-21 13:33:46 +01:00
Josef Friedrich 7abaa2da98 Document change in the changelog.rst 2024-02-12 09:56:24 +01:00
raspbeguy 258e52af5b Add alpine instructions 2024-02-06 09:19:17 +01:00
Serene ddb34de72a Merge pull request #5081 from mthies-unibi/zsh-completion-fixes
Fixes zsh completion dependency on specific awk/sed/sqlite3 versions and settings
2024-01-17 21:43:21 +10:00
Michael Thies 35af8d363a added changelog entry 2024-01-17 10:36:56 +01:00
Lars Kruse 508d28f66b tests: move reusable test-related modules into the beets package
External Python packages interfacing beets may want to use an in-memory
beets library instance for testing beets-related code.
The `TestHelper` class is very helpful for this purpose.
Previously `TestHelper` was located in the `test/` directory.
Now it is part of `beets` itself (`beets.test.helper.TestHelper`) and
can be easily imported.
2024-01-15 19:40:57 +01:00
Alok Saboo ce023a3c53 Revert unwanted commits 2023-12-25 17:14:45 -05:00
Alok Saboo 7838e70d41 Revert "Merge remote-tracking branch 'upstream/master' into lb"
This reverts commit 6bfe26642c, reversing
changes made to 9b8dbe8055.
2023-12-23 12:25:22 -05:00
Alok Saboo 6bfe26642c Merge remote-tracking branch 'upstream/master' into lb 2023-12-23 12:19:30 -05:00
Alok Saboo a88591824c Add lastimport changelog 2023-12-23 10:32:26 -05:00
Alok Saboo d5a237912a Add listenbrainz to index 2023-12-21 12:22:12 -05:00
Alok Saboo 4541644961 Updated docs 2023-12-21 11:57:14 -05:00
Alok Saboo 7f4da6e023 Update changelog.rst 2023-12-20 10:46:35 -05:00
Max Goltzsche 6b929c6e72 web: fix range request support
Do not let the web plugin overwrite the Content-Length header with the full file length since flask/werkzeug sets the requested range's/chunk's size when handling a range request.
This allows to play large audio/opus files using e.g. a browser/firefox or gstreamer/mopidy without making a reverse-proxy/nginx emulate range request support and hide range-related headers from the backend.
2023-12-20 01:23:13 +01:00
RollingStar d927262bd5 Merge branch 'master' into master 2023-12-17 10:48:31 -05:00
RollingStarandJ0J0 Todos 9f958b886e Update docs/changelog.rst
Co-authored-by: J0J0 Todos <2733783+JOJ0@users.noreply.github.com>
2023-12-17 10:47:41 -05:00
Adrian Sampson 3ea4a0ba46 Merge pull request #5050 from Maxr1998/abort-on-template-field-conflicts
beetsplug: Error out on conflicts in template functions
2023-12-16 10:51:14 -05:00
Maxr1998 e64ee0b0cd beetsplug: Error out on conflicts in template functions
Raises an exception if multiple plugins provide template functions for the same field.

Closes #5002, supersedes #5003.
2023-12-16 16:38:32 +01:00