Commit graph

7351 commits

Author SHA1 Message Date
Bruno Cauet
4e7c8d14a8 Discogs: add troubleshooting section in docs
Mention the token file, system date. Provide a URL that searches github
issues for "discogs".

Relates to #1417.
2015-04-17 17:32:42 +02:00
Bruno Cauet
d134ad922d Discogs: add API errors to CONNECTION_ERRORS
This avoids potential crashes when DiscogsAPIError is not explicitely
caught.

Relates to #1417.
2015-04-17 17:32:42 +02:00
Fabrice Laporte
7a10a7a86b Update changelog.rst 2015-04-17 16:08:22 +02:00
Tom Jaspers
18d262a59c Sort can ignore case if configured to do so
- Config option `sort_ignore_case`
- Default behavior was (and is) case sensitive
2015-04-17 14:24:56 +02:00
Adrian Sampson
7073a54975 Expand changelog descriptions 2015-04-16 20:13:31 -07:00
Adrian Sampson
df579c6b45 Changelog for #1404 2015-04-16 19:57:41 -07:00
Adrian Sampson
56ca69d63d Fix #1404 by only writing _media_fields
This just makes "date" and "original_date" into ordinary flexible fields,
which is probably the way it should be.
2015-04-16 19:55:48 -07:00
Adrian Sampson
6004da7c42 Expand changelog for "or" queries (#1423) 2015-04-16 19:34:20 -07:00
Adrian Sampson
0979148866 Slightly more legible tests 2015-04-16 19:31:27 -07:00
Adrian Sampson
7c1cf6632e Add test for leading comma (#1423) 2015-04-16 19:28:03 -07:00
Adrian Sampson
bc698c3c0e Merge pull request #1423 from tomjaspers/or-query-operator
Use comma as "or" operator for queries
2015-04-16 19:25:24 -07:00
Adrian Sampson
aef4e323f8 Changelog for #1426 2015-04-16 14:53:46 -07:00
Adrian Sampson
31a9d16458 Merge pull request #1426 from barsanuphe/master
Fixed variable referenced before assignment.
2015-04-16 14:52:46 -07:00
Barsanuphe
f72172aaa2 Fixed variable referenced before assignment. 2015-04-16 23:44:49 +02:00
Tom Jaspers
0a4e8309fd Changelog entry for OR-operator 2015-04-16 10:09:46 +02:00
Tom Jaspers
13eabe25dd "or"-operator tests on dbcore:parse_sorted_query 2015-04-16 10:04:32 +02:00
Tom Jaspers
c98835709f Query documentation to include "or" operator 2015-04-16 09:44:49 +02:00
Adrian Sampson
0c7823b4a5 Add zsh completion instructions (fix #1420) 2015-04-15 19:53:27 -07:00
Adrian Sampson
b313c8b46a fuzzy: Fix #1422, regression crasher 2015-04-15 19:46:31 -07:00
Tom Jaspers
b5ca50da46 Use comma as "or" operator for queries
Scan the query parts for commas (u',') and treat these as sub-AndQueries
that need to be wrapped in an OrQuery (if there are more than 1 of these)
2015-04-15 23:09:37 +02: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