Commit graph

5018 commits

Author SHA1 Message Date
Adrian Sampson
b313c8b46a fuzzy: Fix #1422, regression crasher 2015-04-15 19:46:31 -07:00
Adrian Sampson
46f382fd9b importadded: Fix in-place singleton imports
Fixes #1416.
2015-04-14 11:45:20 -07:00
Adrian Sampson
58c3e43b78 Ensure we always send bytes to sys.stdout
This is most pertinently important for interacting with nose's
output-capturing, which crashes when we mix bytes and unicode output. It's
also nice to have just for consistency.

Maybe we should enforce in the future that `print_` only gets Unicode
arguments. It's a pain supporting bytes calls and we should really only be
outputting text.

Python 3 can't come soon enough. 😢
2015-04-14 11:28:16 -07:00
Adrian Sampson
0507f80fcd discogs: Handle errors on auth setup (fix #1417) 2015-04-14 10:26:39 -07:00
Adrian Sampson
8fdf995ff9 Fallback encoding under test harness
Now this works when capturing output for the tests.
2015-04-14 10:14:35 -07:00
Adrian Sampson
649a0111d6 Actually skip copying manpages 2015-04-14 10:09:24 -07:00
Adrian Sampson
2f7f037e8e setup.py sdist: Allow make man failure
This should let us run Tox on Windows, where Make isn't available.
2015-04-14 10:02:09 -07:00
Adrian Sampson
168678cc3f Hopefully fix AppVeyor allow_failures config 2015-04-14 09:52:42 -07:00
Adrian Sampson
195f0dd6d4 No default terminal encoding (#1419) 2015-04-14 09:51:02 -07:00
Adrian Sampson
516946839a Add AppVeyor configuration
For Windows CI builds.
2015-04-14 09:37:27 -07:00
Adrian Sampson
a0ff517d17 Guess output encoding from sys.stdout.encoding
Rather than using the locale settings. #1419
2015-04-13 11:11:16 -07:00
jmwatte
c834599b42 fix regex 2015-04-13 10:46:47 +02:00
Adrian Sampson
7372ad4831 replaygain: Log bs1770gain invocations
For clearer debugging in #1398.
2015-04-12 23:01:44 -07:00
Adrian Sampson
ab78eed02e replaygain: Avoid suppressing debug output (#1398)
This was suppressing debug output even with `beet -vv import`. This also avoid
registering an import hook when auto is disabled.
2015-04-12 22:59:48 -07:00
Adrian Sampson
39a6fa5495 Changelog for #1398 2015-04-10 09:03:11 -07:00
Adrian Sampson
9c7b8d22ca Catch empty output list in bs1770gain (fix #1398)
This should catch the original crash that brought this all up.
2015-04-10 09:01:13 -07:00
Adrian Sampson
6fcd88bc31 More precise comment for #1398 2015-04-10 08:53:54 -07:00
jmwatte
7128340385 fix no-PREFIX for long window-paths 2015-04-10 09:26:56 +02:00
Adrian Sampson
821c5bf3df Documentation pass for #1398 2015-04-09 17:06:35 -07:00
Adrian Sampson
ecb65a5a4a Idiomatic configuration defaults (#1398)
Paging @jmwatte: `config.add` is the standard way to specify defaults for
configuration options.
2015-04-09 16:55:18 -07:00
jmwatte
1f08470fb3 Merge branch 'master' of https://github.com/sampsyo/beets 2015-04-09 18:53:39 +02:00
jmwatte
51cfde4e9d fix bs1770gain for windows and exceptionally big albums 2015-04-09 18:48:37 +02:00
Bruno
476fbf2a85 Merge pull request #1408 from multikatt/patch-1
typo: exapnds -> expands in plugins doc
2015-04-09 18:34:49 +02:00
David
c3745ce6c2 typo: exapnds -> expands 2015-04-09 12:30:38 -04:00
Bruno Cauet
882844bc77 Echonest conversion command: only use byte strings
Temp file name was unicode, so if other parts of the command were
utf8-encoded non-ascii strings the command would fail (in
beets.util.command_output()). Requesting a temp file with a byte string
path fixes the issue.

Fix #1407.
2015-04-09 18:05:41 +02:00
jmwatte
7ac6ba53ff fix bs1770gain for windows and exceptionally big albums 2015-04-09 18:02:32 +02:00
jmwatte
f1f7094938 fix bs1770gain for windows and exceptionally big albums 2015-04-09 17:18:26 +02:00
Adrian Sampson
51cd6ad90e Changelog for #1402 2015-04-07 22:52:43 -05:00
Adrian Sampson
018f479ced Revert extra variables and whitespace from #1402 2015-04-07 22:50:37 -05:00
Adrian Sampson
04bca2f48c Merge pull request #1402 from multikatt/#1401
Sorting printing of fields
2015-04-07 22:49:47 -05:00
multikatt
c32bb850ca Remove redundant sort() 2015-04-07 21:26:30 -04:00
multikatt
956fa2cc52 Sorting printing of fields 2015-04-07 21:21:03 -04:00
Frederik “Freso” S. Olesen
8788d6b764 Fix typo: dox → doc 2015-04-07 15:28:13 +02:00
Frederik “Freso” S. Olesen
0d21e816d4 Fetchart: Remove hard 500px size limit for CAA cover art.
Using -500 URLs for coverartarchive.org will only ever return images
where the biggest dimension is (width or height) is 500 pixels,
regardless of what fetchart settings are otherwise set.

This commit removes the -500 from the URL entirely rather than using it
conditionally, since a maxwidth of 500 will allow for a 600 high and 500
wide image, but CAA.org/...-500 would return a 500x417 image instead, so
not enforcing a size is the only way to ensure the user's {max,min}width
settings are properly respected.
2015-04-07 15:24:01 +02:00
Tom Jaspers
5afe2e14aa Changelog entries for #1389 and #1394 2015-04-06 16:41:38 +02:00
Tom Jaspers
7bdcb08ef5 Merge pull request #1394 from tomjaspers/fetchart-minwidth-ratio
Fetchart: minwidth and enforce_ratio options
2015-04-06 11:20:33 +02:00
Tom Jaspers
2c6f29bfb6 Add tests for minwidth and enforce_ratio 2015-04-06 11:12:16 +02:00
Adrian Sampson
020ed0c76b Merge pull request #1389 from tomjaspers/faster-levenshtein
Use Levenshtein distance from Jellyfish library
2015-04-05 23:41:27 -05:00
Adrian Sampson
b94088eceb Version bump for dev: 1.3.12 2015-04-05 23:26:37 -05:00
Adrian Sampson
e1013fe9c9 Merge branch 'master' of github.com:sampsyo/beets 2015-04-05 23:24:53 -05:00
Adrian Sampson
bd6cea4204 release.py is Py3k 2015-04-05 23:19:21 -05:00
Adrian Sampson
445543fb04 Release date for 1.3.11 2015-04-05 23:18:00 -05:00
Adrian Sampson
1966b1c31e Merge pull request #1396 from multikatt/patch-1
Update plugins.rst
2015-04-05 22:06:09 -05:00
David
09100c4a55 Update plugins.rst
The class is called CommonOptionsParser, Option*s*.
2015-04-05 22:44:08 -04:00
Adrian Sampson
eba9392aa4 Changelog summary paragraphs 2015-04-05 16:52:06 -07:00
Adrian Sampson
8452a1645c Sort plugin names in version output 2015-04-05 14:28:07 -07:00
Adrian Sampson
61ffc165df Tests: avoid leaking a mock
The decorator is now necessary because we're patching a module-global.
2015-04-05 12:28:14 -07:00
Adrian Sampson
0af2cdaa3a New beets.art image utilities
This makes it cleaner to share the high-level image-embedding logic between
the `embedart` and `convert` plugins. This resolves a regression, introduced
in f504c786, that inadvertently activated the former plugin when the latter
was enabled. I also like avoiding cross-plugin imports.
2015-04-05 12:15:38 -07:00
Adrian Sampson
677d1e0b15 Clean up 1.3.11 changelog 2015-04-05 10:27:16 -07:00
Adrian Sampson
97890d989f Changelog converter: handle :user: and 🐛 2015-04-04 21:23:22 -07:00