Commit Graph
1079 Commits
Author SHA1 Message Date
Arsen Arsenović 96be1840e3 docs: add fetchart cover_format option 2021-11-03 13:31:33 +01:00
Piotrek Kochański 4d94bf8fad Merge branch 'master' of github.com:beetbox/beets into deinterlace 2021-11-01 21:33:27 +01:00
Piotrek Kochański 417ef0d453 Merge branch 'master' of github.com:beetbox/beets into deinterlace 2021-10-31 13:27:00 +01:00
wisp3rwind 786236f046 remove the gmusic plugin 2021-10-30 14:46:14 +02:00
Tianon Gravi 7bd36ed6ca Add "beet export --album" (matching "beet info --album") 2021-10-27 08:55:36 -07:00
Tianon Gravi 5c41478263 Add "beet info --album" to the plugin documentation too 2021-10-26 09:09:44 -07:00
PotcFdk 85a2eb8e96 Update absubmit.rst
[...] when the tracks do{es->}n't already have [...]
2021-10-25 02:39:32 +02:00
PotcFdk b72c028a0b Update absubmit.rst
Reword the first sentence of the Submitting Data paragraph.
2021-10-25 02:31:49 +02:00
Jay DesLauriers b05432aed0 feat(unimported): support excluding subdirectories 2021-10-12 17:28:43 +00:00
wisp3rwind c8bfad5e17 docs: fix links that were failing sphinx' linkcheck
There's one stale link left for the gmusic plugin, which should be fixed
by removing the plugin, see #4089
2021-10-04 16:14:14 +02:00
Edgars Supe 4f361eb795 Fix typos in albumtypes plugin docs 2021-09-10 23:59:06 +03:00
Adrian Sampson e1d41c241d Merge pull request #4048 from edgars-supe/albumtypes-plugin
Add plugin for formatting albumtypes
2021-09-10 16:47:33 -04:00
Edgars Supe d40f0c8860 Fill default config for albumtypes plugin 2021-09-10 14:48:28 +03:00
Edgars Supe fea5f5c548 Add beets-importreplace to external plugins list 2021-09-10 10:57:49 +03:00
Edgars Supe c5764df989 Improve albumtypes plugin documentation 2021-09-10 10:23:47 +03:00
Edgars Supe c59a22efa2 Add albumtypes to plugin index 2021-09-09 23:07:11 +03:00
Edgars Supe 899136774b Add documentation for albumtypes plugin 2021-09-09 23:07:11 +03:00
Piotrek Kochański 901377ded5 Improve wording. 2021-08-26 15:01:37 +02:00
Piotrek Kochański bee4f13d84 Remove duplicate line. 2021-08-26 14:43:37 +02:00
Piotrek Kochański 7c1de83ef2 Extend fetchart documentation to cover new option. 2021-08-26 13:38:17 +02:00
Piotrek Kochański 31d9c80e18 Update docs/ to reflect new option to deinterlace.
Document new option to fetchart plugin to store cover art as
non-progressive.
2021-08-25 22:58:04 +02:00
Kirill A. Korinsky b0f7418372 Stream-friendly smart playlists
This commit introduced a way to generate a stream-frienldy playlists.
2021-08-14 02:41:22 +02:00
Šarūnas Nejus c6e4cf80f4 Add reference to the beetcamp plugin 2021-08-03 19:27:26 +01:00
Šarūnas Nejus 8dae6039f2 Order external plugins alphabetically 2021-08-03 19:27:26 +01:00
maffo999 653181a296 Fix subsonicupdate plugin 2021-07-14 20:10:04 +02:00
Sam Thursfield 2fa3717731 Optimise FormattedMapping when querying a specific set of fields
This changes greatly improves the speed of `beet export` and `beet info`
when the `--include-keys` option is used. It also removes the globbing
feature of `--include-keys` that was added in #1295. (See #3762 for
discussion).

Listing all fields for an item requires querying the database to find
any flex attributes. This is slow when done for every item being
exported. We already have a way for the user to specify a fixed set
of keys, but we previously queried everything and filtered it afterwards.
The new approach is more efficient.

Code that iterates through all fields now have to handle invalid field
names. The export and info plugins output invalid fields as None.

Timings before:

    > /usr/bin/time beet export -i title,path,artist -l  Bob Dylan
    13.26user 20.22system 0:34.01elapsed 98%CPU (0avgtext+0avgdata 52544maxresident)k

    > /usr/bin/time beet export -l  Bob Dylan
    12.93user 20.15system 0:33.58elapsed 98%CPU (0avgtext+0avgdata 53632maxresident)k

Timings after:

    > /usr/bin/time beet export -l  Bob Dylan
    13.33user 20.17system 0:34.02elapsed 98%CPU (0avgtext+0avgdata 53500maxresident)k

    > /usr/bin/time beet export -i title,path,artist -l  Bob Dylan
    0.49user 0.07system 0:00.56elapsed 98%CPU (0avgtext+0avgdata 50496maxresident)k

Notice the dramatic speedup in the last example!
2021-05-01 23:41:09 +02:00
Adrian Sampson eab4372a58 Merge pull request #3900 from Lanny/master
badfiles: Optionally run checkers during import
2021-03-29 19:28:30 -04:00
Adrian Sampson f067180c4c Shorten a ReST underline 2021-03-28 14:23:38 -04:00
Xavier Hocquet 6081e6a8df CR comments 2021-03-28 13:08:00 -05:00
Xavier Hocquet 8c6530369d Merge branch 'master' into tekstowo-lyrics 2021-03-28 12:05:42 -06:00
Ryan Lanny Jenkins 3e1fe88053 Merge branch 'master' of https://github.com/beetbox/beets 2021-03-24 16:59:24 -05:00
Ryan Lanny Jenkins 2f8a8e2f8a Add docs for badfiles' check_on_import option. 2021-03-24 16:55:28 -05: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
Graham R. Cobb cad2c055c5 Make unicode handling explicit, to support python 2 and 3.
Add link to Unidecode library in docs.

Signed-off-by: Graham R. Cobb <g+beets@cobb.uk.net>
2021-03-16 16:29:57 +00:00
Graham CobbandAdrian Sampson 4b9c9d0a5f doc improvement as suggested by @sampsyo
Co-authored-by: Adrian Sampson <adrian@radbox.org>
2021-03-16 15:30:43 +00:00
Graham CobbandAdrian Sampson 2df3765521 Tidy doc as suggested by @sampsyo
Co-authored-by: Adrian Sampson <adrian@radbox.org>
2021-03-16 15:29:35 +00:00
Graham R. Cobb d1ec7b4b70 Add `bareasc` command to display entries with the unidecode transformation
applied.

Signed-off-by: Graham R. Cobb <g+beets@cobb.uk.net>
2021-03-16 11:57:52 +00:00
Graham R. Cobb 06b6b72e0e Add credit to Unidecode library into bareasc docs.
Signed-off-by: Graham R. Cobb <g+beets@cobb.uk.net>
2021-03-15 22:52:14 +00:00
Graham R. Cobb f4fccfa05c Add documentation for bareasc to the plugins index.
Signed-off-by: Graham R. Cobb <g+beets@cobb.uk.net>
2021-03-15 15:53: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
David Dembeck 374707bb7a remove LyricsWiki from default sources in docs
https://github.com/beetbox/beets/pull/3766 missed removing this
2021-03-10 12:59:48 -06:00
govynnus debd382837 Merge pull request #3758 from beetbox/aura
AURA: Add aura plugin and docs
2021-03-08 07:24:53 +00:00
Callum Brown a24a094562 AURA: Small updates to docs and set server version 2021-03-07 18:24:57 +00:00
Callum Brown 9b9ff46e7d Merge branch 'master' into aura
Ensure aura branch has updated configuration to eliminate spurious
linter errors from the style checker.
2021-03-07 11:08:37 +00:00
Graham R. Cobb 49c747d144 Small documentation change to make GET /album/.../art clearer
Signed-off-by: Graham R. Cobb <g+beets@cobb.uk.net>
2021-03-06 15:14:41 +00: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
Andrea Mistrali 414b682123 Add strip_path to mpdstats 2021-02-22 11:19:23 +01:00