Commit graph

1025 commits

Author SHA1 Message Date
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
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
rachmadaniHaryono
bb80fe5c5b fix: doc: copyartifacts fork 2020-11-11 12:16:30 +08:00
Nathan
90cf26389e
Swap links 2020-10-08 00:35:03 -07: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
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
Curtis Rueden
ad399b3caa Add beats-ibroadcast to list of external plugins 2020-09-29 07:43:25 -05:00
Cadel Watson
3723f8a09f Update docs and changelog 2020-09-20 10:54:06 +10: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
ybnd
72710cd8c7 Merge branch 'master' into parallel-replaygain 2020-08-12 11:59:32 +02: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
chipsnblip
30173b7331
update link to current homepage
update link from non-existent page (https://2.python-requests.org/en/latest/) to the plugin's current homepage: https://requests.readthedocs.io/en/master/
2020-07-26 13:50:05 -07: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
9b47e4fa23
Merge pull request #3619 from trolley/topic/plex-secure-connections
feat: support secure Plex connections
2020-06-08 20:28:27 -04:00
Mark Trolley
6d41f31309 Rename use_secure to secure and add to changelog 2020-06-08 20:19:19 -04:00
Mark Trolley
22d74a3b8a feat: support secure Plex connections 2020-06-08 18:05:43 -04:00
Mark Trolley
2ae0dbbd7a docs: clarify mbcollection options 2020-06-08 16:29:33 -04:00
Martin Kirchgessner
fc4a61c557 add drop2beets to community plugins 2020-05-23 17:09:18 +02:00
soergeld
ed97b984b0 Documentation 2020-05-13 18:02:14 +02:00
Dorian Soergel
e8b57dfda6
Update docs/plugins/parentwork.rst
Co-authored-by: Adrian Sampson <adrian@radbox.org>
2020-05-13 14:55:00 +02:00
soergeld
918fea5eca small changes, documentation 2020-05-12 16:05:08 +02:00
soergeld
1f93ce5a49 small changes, docs 2020-05-11 16:14:52 +02:00
Joris
4102aae100
Update docs/plugins/subsonicplaylist.rst
Co-authored-by: Adrian Sampson <adrian@radbox.org>
2020-05-05 10:45:43 +02:00
Joris
08180f2b5d
Merge branch 'master' into subsonicplaylist 2020-05-03 14:59:22 +02:00
MrNuggelz
82f0c59f46 review: updated subsonicplaylist.rst 2020-05-03 13:10:24 +02:00
Joris
499fcb8315
Update docs/plugins/subsonicplaylist.rst
Co-authored-by: Adrian Sampson <adrian@radbox.org>
2020-05-03 12:56:54 +02:00
Adrian Sampson
969a207418 Simplify docs for #3567 2020-04-27 07:45:31 -04:00
Sören Tempel
226d8089e1 docs: document special handling of backlash in web plugin queries 2020-04-27 13:36:36 +02:00
Sören Tempel
57a759c817 docs: document joining of paths performed by web plugin for queries 2020-04-27 13:36:36 +02:00
Kylie McClain
1c03f58e0d
fetchart: improve description of -q flag 2020-04-19 14:56:15 -04:00
x1ppy
8908416f6f Add beets-originquery plugin 2020-04-06 17:00:43 -04:00
Jack Wilsdon
43d58a77d9
Merge pull request #3534 from jackwilsdon/fetchart-lastfm
fetchart: Add Last.fm artwork source
2020-03-31 09:09:38 +01:00
Adam Jakab
1bec3c4c9f added all my plugins + corrected 1 typo 2020-03-30 22:15:13 +02:00
Jack Wilsdon
333d5d1dd3
fetchart: Add Last.fm artwork source 2020-03-30 20:20:59 +01:00
Justin Mayer
14a654bbdb Add Fish completion to changelog & plugin index 2020-03-04 07:15:46 +01:00
Justin Mayer
82c3867fc0 Rewrite Fish completion plugin docs & code comments 2020-03-04 07:15:46 +01:00
jmwatte
d2d2b646c1 Add plugin for Fish shell tab completion 2020-03-02 09:51:36 +01:00
Adrian Sampson
545c65d903 Massage wording for #3504 2020-03-01 19:35:23 -05:00
smichel17
594da1597a Document running chroma plugin in verbose mode
For #941
2020-03-01 11:47:12 -05:00
Adrian Sampson
00c6d1439e Docs tweaks for #3493 2020-02-26 19:15:44 -08:00
Adrian Sampson
8b8d223755 Merge pull request #3493 from danbee/specify-quality-for-coverart
Allow the quality to be set for embedded/fetched cover art
2020-02-26 19:12:31 -08:00
Daniel Barber
a9e11fcfeb Add some info about valid quality levels 2020-02-26 19:23:59 -05:00
Daniel Barber
fe8ba17ced Add quality setting to fetchart plugin 2020-02-22 13:36:35 -05:00
Daniel Barber
d82573f8f3 Document quality setting 2020-02-22 12:02:20 -05:00
Adam Jakab
37f3e226b0 beets-goingrunning - shortened description 2020-02-20 18:58:11 +01:00
Adam Jakab
c9e6f91030 Added beets-goingrunning to the list of 'other plugins' 2020-02-20 18:55:56 +01:00
Adrian Sampson
ddfb715e32 Style fixes for #3491 2020-02-17 06:49:26 -08:00
Adam Jakab
9426ad7345 Added beets-bpmanalyser to the list of 'other plugins' 2020-02-17 09:40:30 +01:00