Commit graph

8756 commits

Author SHA1 Message Date
Adrian Sampson
a34f19e01c Version bump: 1.4.9
Given what we have in the pipeline, we may need to change this to 1.5.0
instead...
2019-05-16 20:44:38 -04:00
Adrian Sampson
c566a74bca Travis: temporarily disable Python 3.8
There seems to be a compatibility error in Werkzeug on the prerelease of
3.8.
2019-05-16 17:39:18 -04:00
Adrian Sampson
2f9ce7e43c Date for 1.4.8 release 😱 2019-05-16 16:42:42 -04:00
Adrian Sampson
217915bd69 Slightly longer changelog section headings 2019-05-16 16:42:15 -04:00
Adrian Sampson
967c08cf47 Changelog summary 2019-05-16 16:39:51 -04:00
Adrian Sampson
909fd1eb27 Reorganize changelog for performance improvements 2019-05-12 11:21:19 -04:00
Simon Persson
89aa5c7be8 Merge branch 'master' into lazy-album-fetch-in-formatter 2019-05-10 20:08:50 +02:00
Simon Persson
0754940465 Add changelog entry. 2019-05-10 19:41:11 +02:00
Simon Persson
96d83ad1db Move lazy_property to util package. 2019-05-10 19:29:51 +02:00
Simon Persson
337b6bc4c9 Formatting fix. 2019-05-09 21:00:59 +02:00
djl
9ddf02877f
Merge pull request #3261 from beetbox/nullpadeverything
Use NullPaddedInt for all r128_album_gain fields.
2019-05-09 19:50:31 +01:00
Simon Persson
7043ed5947 Introduce @lazy_property for better readability. 2019-05-09 20:48:20 +02:00
Adrian Sampson
23da057ceb tox: Don't use Python 3.8 by default
3.8.0 final is not released yet. This default set is meant to be a
reasonable list for quick iteration during development.
2019-05-09 14:22:48 -04:00
Adrian Sampson
ff1d43ddf9 Refine @cached decorator from #3258
Don't restrict to Python 2 precisely.
2019-05-09 14:21:38 -04:00
Adrian Sampson
d236e1edff Changelog refinement for #3258 2019-05-09 14:17:11 -04:00
Adrian Sampson
38bbb7de1d Merge pull request #3258 from SimonPersson/performance-2388
Improvements to query performance
2019-05-09 14:15:15 -04:00
David Logie
0d190e7fad Use NullPaddedInt for all r128_album_gain fields. 2019-05-09 19:08:44 +01:00
Simon Persson
7df4e23b13 Fix formatting, and add python2 support. 2019-05-09 19:27:31 +02:00
Simon Persson
b1f8fe963f Fix flake8 errors. 2019-05-09 19:02:39 +02:00
Simon Persson
b9768e6c9b Lazily fetch album in FormattedItemMapping, as it's not needed in most cases. 2019-05-09 18:31:51 +02:00
Simon Persson
c5075b2855 Create a cached template() function
We were previously doing calls to Template() directly, sometimes in a
loop. This caused the same template to be recompiled over and over. This
commit introduces a function template() which caches the results, so
that multiple calls with the same template string does not require
recompilation.
2019-05-09 18:24:59 +02:00
Adrian Sampson
8bef21a4d5 More permissive log check for #3247 2019-05-02 09:38:11 -04:00
Adrian Sampson
83ac5ed022 Changelog for #3247 2019-05-02 09:35:14 -04:00
Adrian Sampson
6fa93935ec Merge pull request #3247 from jackwilsdon/b1770gain-malformed-xml
replaygain: Handle invalid XML output from bs1770gain
2019-05-02 09:33:08 -04:00
Jack Wilsdon
f09088df43
replaygain: Handle invalid XML output from bs1770gain 2019-05-02 01:24:19 +01:00
Adrian Sampson
6ec061b8a5 Changelog for #3236 2019-04-30 16:57:27 -04:00
Adrian Sampson
0ef50ed246 Minor cleanup for #3236 2019-04-30 16:53:54 -04:00
Adrian Sampson
7773a0f117 Merge pull request #3236 from ababyduck/2093-update-imagemagick-cmds
Update artresizer's ImageMagick commands to use the magick binary
2019-04-30 16:47:48 -04:00
Adrian Sampson
ff73a056f5 Changelog for #3238 (fixes #2790) 2019-04-30 11:52:29 -04:00
Adrian Sampson
644c814695 Clarify docstring for Float's digits parameters
Introduced in #3238.
2019-04-30 11:49:39 -04:00
Adrian Sampson
b6ac986526 Merge pull request #3238 from rain0r/2790-acousticbrainz
Fix for #2790 - acousticbrainz: Really small float values are stored as strings
2019-04-30 11:48:41 -04:00
Adrian Sampson
fc084ae975 More changelog proofreading 2019-04-30 11:47:26 -04:00
Adrian Sampson
0bfe0e9a67 Link to the aunique config option 2019-04-30 11:42:44 -04:00
Adrian Sampson
42f03a1121 Merge pull request #3235 from arcresu/release
Prepare for releasing 1.4.8
2019-04-30 11:40:11 -04:00
Jack Wilsdon
9190ce7602
Merge pull request #3243 from jackwilsdon/dbcore-globals
Stop using beets.config['sort_case_insensitive'] in beets.dbcore
2019-04-28 03:40:03 +01:00
Adrian Sampson
8ab9af1f5f
Merge pull request #3241 from arcresu/issue-template
Use new GitHub issue template format
2019-04-27 15:51:47 -04:00
Jack Wilsdon
aaea23809b
Merge pull request #3244 from jackwilsdon/unpin-tox
Revert "Travis: temporarily pin tox to <=3.8.1"
2019-04-27 17:19:00 +01:00
Rainer Hihn
62c1d37bcc Formatting 2019-04-27 17:58:48 +02:00
Rainer Hihn
941dd6e48f Formatting 2019-04-27 17:58:26 +02:00
Rainer Hihn
36dc105dc9 undid quotes in log messages 2019-04-27 17:57:48 +02:00
Jack Wilsdon
9467fc7557
Revert "Travis: temporarily pin tox to <=3.8.1"
This reverts commit 777cfbbf61.
2019-04-27 15:56:55 +01:00
Jack Wilsdon
e10be98b66
Stop using beets.config['sort_case_insensitive'] in beets.dbcore 2019-04-27 15:44:56 +01:00
Carl Suster
df26f2e8f8 Use new GitHub issue template format
Inspired by examples at 457e1d0ae0/system/ISSUE_TEMPLATE/
2019-04-27 23:51:32 +10:00
Carl Suster
86a0f04f26 setup.py: add optional PyGObject dependency 2019-04-27 13:43:58 +10:00
Carl Suster
75f8372a89 Update optional dependencies in setup.py 2019-04-27 12:43:50 +10:00
Carl Suster
9b0fcff216 playlist: remove "smart" from title in docs 2019-04-27 12:43:33 +10:00
Carl Suster
2e0230789f docs: fix some markup issues and typos 2019-04-27 12:43:13 +10:00
ababyduck
278d87f25a Make more requested changes for PR 3236
- Moved several variable assignments outside of try blocks
- Added and clarified various comments and docstrings
- Modified the command loop in `get_im_version()` to a slightly more
readable approach
- `get_im_version()` now returns None when ImageMagick is unavailable
- Updated `ArtResizer._check_method` to handle our new returns in a way
that is more readable
- Fixed an issue where `get_im_version()` could crash if the regex
search failed to find a match
2019-04-25 07:50:12 -07:00
ababyduck
09abd9802a Make get_im_version() return same types across all conditions
`get_im_version` should now always return a tuple containing:
- index 0: a tuple representing the version
- index 1: a bool or None, representing legacy status
2019-04-25 05:50:11 -07:00
ababyduck
48be3a7eaf Make requested changes for PR 3236
- Refactored convert and identify command names to an ArtResizer
member variable, set on ArtResizer init. Functions that use this info
will now access it from there.
- Changed the way `cmd` variables are written so that the command name
and command args are assigned directly to `cmd`, rather than doing
`command_output(cmd + args)`
- `get_im_version()` will now always return a tuple containing two
values: a tuple representing the version, and either a bool or None
flag representing whether we should send legacy commands to ImageMagick
- Improved readability of successful return value in `get_im_version()`
2019-04-24 18:43:50 -07:00