Commit graph

1776 commits

Author SHA1 Message Date
wisp3rwind
7a0599efe2 Python 3.5 is EOL and we should drop support thus add notice to changelog
The final release 3.5.10 was on 2020-09-05
2021-03-23 19:41:29 +01:00
wisp3rwind
9a6b65351b Merge pull request #3560 from davidswarbrick/master
Album Art Resize to filesize
2021-03-23 12:15:51 +01:00
David Swarbrick
07b5e69f40 fetchart/artresizer: add max_filesize support (#3560)
Squashed from the PR, relevant commit messages follow below:

Added file size option to artresizer

 - In line with comments on PR, adjusted the ArtResizer API to add
   functionality to "resize to X bytes" through `max_filesize` arg

 - Adjustment to changelog.rst to include max_filesize change to ArtResizer
   and addition of new plugin.

Added explicit tests for PIL & Imagemagick Methods

 - Checks new resizing functions do reduce the filesize of images

Expose max_filesize logic to fetchart plugin

- Add syspath escaping for OS cross compatibility
- Return smaller PIL image even if max filesize not reached.
- Test resize logic against known smaller filesize (//2)
- Pass integer (not float) quality argument to PIL
- Remove Pillow from dependencies
- Implement "max_filesize" fetchart option, including
  logic to resize and rescale if maxwidth is also set.

Added tests & documentation for fetchart additions.

Tests now check that a target filesize is reached with a
higher initial quality (a difficult check to pass).

With a starting quality of 95% PIL takes 4 iterations to succeed
in lowering the example cover image to 90% its original size.
To cover all bases, the PIL loop has been changed to 5 iterations
in the worst case, and the documentation altered to reflect the
50% loss in quality this implies. This seems reasonable as users
concerned about performance would most likely be persuaded to
install ImageMagick, or remove the maximum filesize constraint.
The previous 30% figure was arbitrary.
2021-03-23 12:00:14 +01:00
Jack Wilsdon
01bc32e50e Allow equals within import --set value 2021-03-22 15:26:14 +00:00
Graham R. Cobb
341a0a0adf Added documentation and changelog for bareasc.
Signed-off-by: Graham R. Cobb <g+beets@cobb.uk.net>
2021-03-15 15:34:58 +00:00
Graham R. Cobb
680ccdcd96 Documentation and changelog for web `readonly` option fixing #3870.
Signed-off-by: Graham R. Cobb <g+beets@cobb.uk.net>
2021-03-11 23:09:51 +00:00
Adrian Sampson
84f6d374c4
Merge pull request #3869 from GrahamCobb/web-regex-fix
Web regex fix
2021-03-10 20:36:03 -05:00
Graham R. Cobb
75f331e64b Update changelog with web regex query backslash fix for #3867.
Signed-off-by: Graham R. Cobb <g+beets@cobb.uk.net>
2021-03-08 17:08:36 +00:00
govynnus
debd382837
Merge pull request #3758 from beetbox/aura
AURA: Add aura plugin and docs
2021-03-08 07:24:53 +00:00
Adrian Sampson
1a2724c327
More changelog editing 2021-03-07 21:30:32 -05:00
Adrian Sampson
8cf46bce6d
A little more changelog stuff 2021-03-07 21:14:53 -05:00
Adrian Sampson
39e5972407
A little changelog editing 2021-03-07 19:54:42 -05:00
Adrian Sampson
3d1b421b97
Cursory changelog summary 2021-03-07 19:50:31 -05:00
Callum Brown
a24a094562 AURA: Small updates to docs and set server version 2021-03-07 18:24:57 +00:00
Adrian Sampson
09a6ec4f74
Merge branch 'master' into pr/item-album-fallback 2021-03-07 09:20:50 -05:00
Graham R. Cobb
c5556ff859 Changelog entry for fixing web include_paths artpath bug #3866
Signed-off-by: Graham R. Cobb <g+beets@cobb.uk.net>
2021-03-06 16:03:37 +00:00
Graham R. Cobb
d2a1251756 Drop changelog as requested by @sampsyo.
Signed-off-by: Graham R. Cobb <g+beets@cobb.uk.net>
2021-03-05 22:42:27 +00:00
Graham R. Cobb
3846e3519d Update changelog to mention small test coverage improvement for web plugin.
Signed-off-by: Graham R. Cobb <g+beets@cobb.uk.net>
2021-03-05 16:38:03 +00:00
Adrian Sampson
d226632eeb
Merge pull request #3863 from m0zes/trackdisambig
Add trackdisambig from musicbrainz.
2021-02-27 19:37:33 -05:00
Adam Tygart
ce78f75ce9 Further attempt to address the comments from sampsyo 2021-02-27 18:31:16 -06:00
Adam Tygart
1b1209a6c3 Add trackdisambig from musicbrainz.
fixes beetbox/beets#1904
2021-02-27 15:07:32 -06:00
George Rawlinson
00252ab28f
Fix #3608: Replace discogs-client with python3-discogs-client
discogs-client has been deprecated since June 2020, the replacement
is actively developed by the community and does not have any breaking
API changes.

Signed-off-by: George Rawlinson <george@rawlinson.net.nz>
2021-02-27 10:09:23 +13:00
Andrea Mistrali
af2229c1b7 Fix docs and changelog 2021-02-22 14:28:14 +01:00
Dorian Soergel
21f232ff70
Merge branch 'master' into beets_tag_hook 2021-02-06 15:10:31 +01:00
Samuel Cook
532ac7f291
Added entry in For packagers changelog section. 2021-01-28 09:42:58 -08:00
Samuel Cook
ff4cec2e69
Removes support for bs1770gain.
References in the documentation to this plugin were removed in
beetbox/beets#3127 (beetbox/beets#3130) but no actual code
changes were made.

This PR removes support for this dependency entirely.
2021-01-27 17:42:18 -08:00
John Hamelink
64944a284e
Added changelog entry for #3834 fix 2021-01-19 22:11:34 +00:00
wisp3rwind
f60ab5621a changelog spelling 2021-01-19 19:07:46 +01:00
Benedikt
6680f692f6
Merge pull request #3832 from vincentDcmps/master
Automatically choose subsonic authentication algorithm based on server version
2021-01-19 19:00:10 +01:00
vincent
2479edbe22 update changelog 2021-01-19 18:50:11 +01:00
Martin Haaß
9587caf916
convert: uses new par_map to work in parallel (#3830)
Squashed 5 commits:
* convert: uses new par_map to work in parallel
* linting
* code review: remove unneeded list syntax
* linting
* changelog addition
2021-01-19 18:47:02 +01:00
soergeld
93ebb9816d style 2021-01-09 16:58:35 +01:00
soergeld
79e5b89caf documentation and changelog 2021-01-09 16:54:14 +01:00
FichteFoll
5ace2b626b
Merge remote-tracking branch 'upstream/master' into pr/item-album-fallback 2021-01-08 18:47:18 +01:00
Dorian Soergel
5bddb6dddc
Merge branch 'master' into beets_500 2021-01-07 12:36:37 +01:00
Andrew Simmons
3117cc0d31 Update changelog 2021-01-06 10:52:18 -05:00
Auguste Olivry
a391740614 Update changelog 2021-01-05 14:25:57 +01:00
soergeld
67587850c9 changelog 2020-12-30 16:04:40 +01:00
ybnd
cc18beb12a Reference issue 2020-12-21 19:33:23 +01:00
ybnd
93101e7ea6 Disable replaygain parallelism during import 2020-12-21 19:19:20 +01:00
sentriz
95677c8626
lastgenre: Make TitleCasing optional 2020-12-15 23:37:16 +00:00
ybnd
e3205aacbd Merge remote-tracking branch 'origin/master' into parallel-replaygain 2020-12-14 22:19:28 +01:00
Adam Miller
e11687f80a keyfinder: Catch output from keyfinder-cli with no key 2020-12-07 22:04:05 -05:00
Adrian Sampson
9657919968
Merge pull request #3088 from rubdos/reflink
Add reflink option
2020-11-27 13:29:10 -05:00
FichteFoll
701cd6c42b
Merge remote-tracking branch 'upstream/master' into pr/item-album-fallback 2020-11-02 00:10:46 +01:00
Aidan Epstein
ceb046d60c Add musicbrainz genre config option. 2020-10-30 08:27:04 -07:00
Aidan Epstein
a79b239d4f Add musicbrainz genre config option. 2020-10-30 08:27:04 -07:00
Adrian Sampson
627005d4d1
Merge pull request #3774 from beetbox/normalize-str
Try normalizing the dbcore String type
2020-10-28 18:51:13 -04:00
Adrian Sampson
072e1dfead
Merge pull request #3781 from aereaux/add_genres
Add genre support using musicbrainz tags.
2020-10-28 18:51:01 -04:00
Adrian Sampson
8ac14a39b6
Merge branch 'master' into normalize-str 2020-10-28 15:44:13 -04:00
Adrian Sampson
be0003aba3
Merge pull request #3784 from jackwilsdon/fix-pil-image-quality
Fix PIL image quality
2020-10-28 15:16:59 -04:00
Jack Wilsdon
f2dabfef53
Fix PIL image quality 2020-10-28 18:15:29 +00:00
Aidan Epstein
d70287df00 Add genre support using musicbrainz tags.
This requires this PR: https://github.com/alastair/python-musicbrainzngs/pull/266
2020-10-28 09:49:06 -07:00
Adrian Sampson
2cbec2d838 Changelog entry 2020-10-26 20:25:25 -04:00
Jack Wilsdon
769e4246c1
Merge pull request #3765 from jackwilsdon/plugins-flag
Add --plugins flag
2020-10-25 16:39:46 +00:00
Adrian Sampson
374f211135 Merge pull request #3783 from Sudo-kun/feature/3569
Changed the phrasing asked in Issue 3569
2020-10-25 06:57:06 -04:00
Adrian Sampson
829d08d9b8 Fix some ReST syntax 2020-10-25 06:55:30 -04:00
Sudo-kun
272463aa4a Edited the changelog entry to contain the Issue number 2020-10-25 11:06:00 +01:00
Sudo-kun
e49ee7c686 Removed white-space sensitivity in the if-clause 2020-10-25 11:02:12 +01:00
Georg Schwitalla
e7013f9f6f Added the changelog 2020-10-24 13:34:23 +02:00
Georg Schwitalla
3c8afd9a0e Added the changelog entry 2020-10-24 13:07:27 +02:00
Jack Wilsdon
a9ba25439f
Add --plugins flag 2020-10-21 23:44:33 +01:00
Jack Wilsdon
d115f3679b
Remove LyricWiki source
LyricWiki was shut down on 2020/09/21 and no longer serves lyrics.
2020-10-05 22:15:40 +01:00
Curtis Rueden
f0ea9da7b2 In verbose mode, log when files are ignored 2020-10-05 12:27:00 -05:00
Sam Thursfield
d9582f4bea export: Add --format=jsonlines option
This adds support for the JSON Lines format as documented at
https://jsonlines.org/.

In this mode the data is output incrementally, whereas the other
modes load every item into memory and don't produce output until
the end.
2020-10-02 12:41:29 +02:00
Cadel Watson
3723f8a09f Update docs and changelog 2020-09-20 10:54:06 +10:00
Adrian Sampson
b659ad6b0c Merge pull request #3670 from wisp3rwind/pr_remove_select
Add possibility to select individual items to the remove CLI command
2020-09-13 20:55:53 -04:00
djl
33b10d60fb
fetchart: Improve Cover Art Archive source. (#3748)
* fetchart: Improve Cover Art Archive source.

Instead of blindly selecting the first image, we now treat all "front"
images as candidates.

This is useful where some digital releases have both an animated cover
and a still image and the animated image is the first image returned
from the API.
2020-09-13 20:27:12 +01:00
wisp3rwind
a8065ff3d6 update changelog 2020-09-13 14:26:39 +02:00
Jamie Quigley
e83959ab75
Add changelog item and merge if statements 2020-09-07 22:11:15 +01:00
jtpavlock
c9f59ee38d
Add broken link checker to integration test (#3703)
* fix broken links
* add link check command to tox
* add link check to the weekly integration test
2020-09-04 15:42:36 -05:00
Jef LeCompte
f2a4864ab0
Merge pull request #3731 from jef/jef/fix-subsonic 2020-09-04 08:06:55 -04:00
Jef LeCompte
3c8419dbe0
fix(plugin): subsonicupdate rest call
Signed-off-by: Jef LeCompte <jeffreylec@gmail.com>
2020-09-04 00:51:03 -04:00
PotcFdk
2039f26f96 Update file metadata after generating fingerprintsthrough the submit command. 2020-08-26 13:36:40 +02:00
ybnd
f4db4ae1bf Re-add to changelog 2020-08-12 11:59:59 +02:00
ybnd
50757d34ad Fix conflicts 2020-08-12 11:42:18 +02:00
Aidan Epstein
fce27e6fa9 mpdstats: Don't record a skip when stopping MPD.
MPD keeps the current track in the queue when stopping, so it's not
really like a skip, and I use it so that I can stop the music, and later
start at the beginning of a track.

I do this by keeping track of the current song id, and then comparing
them when we receive a stop signal.
2020-08-10 07:07:17 -07:00
Samuel Cook
b89a2650cc
Delete after convert (#3700)
* If import move is true, files will be deleted after converting.
Fixes #2947

* Removed trailing whitespace to comply with W293, fixing build

* Add period to the end of the comment

Co-Authored-By: Adrian Sampson <adrian@radbox.org>

* Added changelog entry for this fix.

* Added delete_originals option to remove source files after transcode

* Added unit test, removed redundant syspath call

Co-authored-by: Logan Arens <logan-arens@users.noreply.github.com>
Co-authored-by: Logan Arens <heresmygithub@protonmail.com>
Co-authored-by: Adrian Sampson <adrian@radbox.org>
Co-authored-by: Logan Arens <logan.arens@protonmail.com>
2020-08-03 20:20:20 -05:00
Gunther Schmidl
48d39ea11e fix regex, add test and changelog entry 2020-07-30 22:42:31 +02:00
FichteFoll
eda9930c59
Merge remote-tracking branch 'upstream/master' into pr/item-album-fallback 2020-07-27 19:32:44 +02:00
Gunther Schmidl
08b51ee5bc add changelog entry 2020-07-26 20:53:30 +02:00
Adrian Sampson
39827394ae Expand the reflink changelog entry 2020-07-22 18:06:29 +02:00
Ruben De Smet
e1def7559e Add reflink docs 2020-07-22 18:01:39 +02:00
José Albornoz
dc7e433768
Fix thumbnail plugin pathlib bug (#3360)
PathlibURI.uri() would fail if given a path as bytes instead of as string.

Co-authored-by: Jacob Pavlock <jtpavlock@gmail.com>
2020-07-15 21:00:50 -05:00
Adrian Sampson
05516f9503 Thanks & bug number for #2554 2020-07-14 06:59:48 -04:00
Adrian Sampson
8537d1e36d Merge pull request #2554 from musoke/python3-plugin-ipfs
compatibility of IPFS plugin with Python 3
2020-07-14 06:58:20 -04:00
wisp3rwind
44e4d558c9 lyrics: fix bad_triggers in the google plugin
regression from 117d16f
2020-07-12 22:23:17 +02:00
Aidan Epstein
27199abac8 Get the date of the parentwork, which may be different from the date of the child work.
Also add a changelog entry and docs.
2020-07-03 09:35:15 -07:00
Adrian Sampson
aed81da2fa Thanks & bug link for #3637 2020-06-28 21:19:35 -04:00
Mark Trolley
0f767ffa66 fetchart: Use Cover Art Archive thumbnails
The Cover Art Archive API offers pre-resized thumbnails of cover
art. If the `maxwidth` option of `fetchart` matches one of the
supported Cover Art Archive thumbnail sizes, and a thumbnail of
that size exists in the Cover Art Archive, fetch it directly
instead of fetching the full size image then resizing it.
2020-06-28 17:18:42 -04:00
Adrian Sampson
533cc88df2
Merge pull request #3639 from trolley/topic/coverart-fallback
Revert Cover Art Archive thumbnails
2020-06-27 19:46:45 -04:00
Adrian Sampson
3e32a4fb87
Merge pull request #3635 from jtpavlock/master
Fix genius lyrics backend artist matching with hyphens
2020-06-27 19:38:26 -04:00
Jacob Pavlock
685d21a8fb changelog 2020-06-27 14:10:03 -07:00
Mark Trolley
a4c647be46 Revert "fetchart: Use Cover Art Archive thumbnails"
This reverts commit 2131f6f7d9.
2020-06-27 16:26:52 -04:00
Mark Trolley
71af5c04fc Revert "Thanks & bug link for #3637"
This reverts commit db181d35fb.
2020-06-27 16:26:05 -04:00
Adrian Sampson
db181d35fb Thanks & bug link for #3637 2020-06-27 12:50:13 -04:00
Mark Trolley
2131f6f7d9 fetchart: Use Cover Art Archive thumbnails
The Cover Art Archive API offers pre-resized thumbnails of cover
art. If the `maxwidth` option of `fetchart` matches one of the
supported Cover Art Archive thumbnail sizes fetch it directly
instead of fetching the full size image then resizing it.
2020-06-27 12:34:43 -04:00
wisp3rwind
dab0c1f9ab compatibility with breaking changes to the ast module
new in 3.10, also backported to 3.8 and 3.9: https://github.com/python/cpython/pull/20649
In fact, our generation of some Literals has been invalid since Python
3.4, fix that too.
2020-06-09 20:03:50 +02:00
Mark Trolley
6d41f31309 Rename use_secure to secure and add to changelog 2020-06-08 20:19:19 -04:00
ybnd
d1f3d664d7 Implement comments & add to changelog 2020-06-04 16:43:42 +02:00