Commit graph

7585 commits

Author SHA1 Message Date
discopatrick
6515f9c55a changes date validation method to try each format until a match is found 2017-04-14 15:25:03 +01:00
discopatrick
d466f8802c passes flake8 2017-04-14 14:45:51 +01:00
Adrian Sampson
c7801d4cc0 Attempted fix for #2515 (convert on Windows)
On Python 3, this tries to pass through the Unicode filename representation
for paths to the Windows API.
2017-04-14 09:31:30 -04:00
discopatrick
ff4c0abcf1 tests ‘added’ instead of ‘mtime’ , and uses a correct date format 2017-04-14 13:05:13 +01:00
Mary Koliopoulou
cb2f47d8d9 Update db.py 2017-04-14 09:41:24 +03:00
Mary011196
bccfcb6b4f handlinig AccessFileError in main 2017-04-14 09:33:23 +03:00
Mary011196
3fd04ad642 adding AccessFileError as new class error excpetion 2017-04-14 09:28:13 +03:00
MolarAmbiguity
94b75e8fb4 Fix bulleted list 2017-04-14 12:57:42 +10:00
MolarAmbiguity
ad87d2af92 Add info about overlaying configs 2017-04-14 12:40:32 +10:00
discopatrick
ed0ea1dee5 tests more invalid date queries 2017-04-14 01:49:58 +01:00
discopatrick
1ac3872293 updates documentation 2017-04-14 01:40:06 +01:00
discopatrick
8e6909bf4b raises error when date string has too many components 2017-04-14 01:32:18 +01:00
discopatrick
3aebb30ad9 improves the exception details 2017-04-14 01:31:46 +01:00
discopatrick
a3251ef7c6 skips tests for now 2017-04-14 01:13:02 +01:00
discopatrick
1744ca6e88 raises error when dates passed to query as long numbers 2017-04-14 00:40:06 +01:00
Matt Murch
6e29514d4c Fix Changelog Bug 2017-04-12 19:04:02 -04:00
Matt Murch
e224621e83 Add default replace for - to _
Also updated changelog and docs.

Resolves: #549
2017-04-12 13:48:37 -04:00
Mary011196
11e3a5a923 OperationalError from SQlite that indicates a permissions problem on database file. 2017-04-12 00:38:58 +03:00
Antonio Larrosa
85e0c0dcee Fixed E501 and E305 PEP8 errors 2017-04-04 09:08:30 +02:00
Antonio Larrosa
fa468ce9d1 Properly quote executable and command line parameter
Use shlex.quote (on python3) or pipes.quote (on python2) to properly
quote the python executable and parameter instead of using single quotes
2017-04-04 09:08:30 +02:00
Antonio Larrosa
44ddd2e8f5 Shell-escape sys.executable
sys.executable needs to be shell-escaped on windows.
2017-04-04 09:08:30 +02:00
Antonio Larrosa
42b4e54391 Use sys.executable instead of composing the executable name
Better use sys.executable than using sys.version_info.major and compose
the name of the python executable.
2017-04-04 09:08:30 +02:00
Antonio Larrosa
1e4378d636 Run python2 or python3 depending on what's used
On a system with dependencies installed for python3 but not for python2,
we have to make sure python3 is used everywhere since 'python' might be running
the python2 interpreter.

This helps with some problems in #2400, but doesn't fix the issue completely.
2017-04-04 09:08:30 +02:00
David Logie
45bed808d3 Don't fail if there are no areas listed in a release event. 2017-04-03 19:48:45 +01:00
Adrian Sampson
51115ac2cd Merge pull request #2502 from djl/preferredreleaseevents
Use preferred countries when selecting a release event
2017-04-03 18:17:50 +02:00
Adrian Sampson
24e171ce3e Tiny docstring fix 2017-04-03 18:17:26 +02:00
David Logie
e9b22cfa3b Use preferred countries when selecting a release event. 2017-04-03 13:43:42 +01:00
Adrian Sampson
462ed4c3ff Merge pull request #2496 from beetbox/2490-bufferflush
Flush the stdout buffer after printing a line
2017-03-28 10:09:20 -04:00
Adrian Sampson
ae42ea6210 Merge pull request #2495 from SpirosChadoulos/master
Added a terminal bell if interaction from the user is required, according to this issue: https://github.com/beetbox/beets/issues/2366
2017-03-27 23:37:11 -04:00
Adrian Sampson
ffdeb1e203 Changelog/thanks for #2495 2017-03-27 23:26:22 -04:00
Adrian Sampson
70ef6e7df8 Fix heading underline length 2017-03-27 23:23:23 -04:00
Adrian Sampson
f62c9a6cc5 Merge pull request #2494 from antlarr/fix-importer-multicd
Fix import of multidisc releases with subdirectories
2017-03-27 22:32:11 -04:00
Antonio Larrosa
473566bf42 Added changelog entry for #2494 2017-03-28 00:26:24 +02:00
SpirosChadoulos
218968235e small changes for the bell issue 2017-03-28 01:09:14 +03:00
SpirosChadoulos
c605a918c8 Added an if statement that allows the bell ring according to the user's configuration. 2017-03-27 20:49:28 +03:00
Antonio Larrosa
35810df985 Simplify is_subdir_of_any_in_list and the test that uses it
Following the comments from sampsyo in #2494
2017-03-27 00:20:44 +02:00
SpirosChadoulos
28c423b527 Added bell when user interaction is needed 2017-03-27 01:06:30 +03:00
SpirosChadoulos
5128b9567c Added bell when user interaction is needed 2017-03-27 01:02:18 +03:00
Adrian Sampson
9446ec7f46 Flush the stdout buffer after printing a line
Pointed out in #2490, this is a regression introduced by #2398. We need to
flush the buffer to faithfully emulate the "real" print() function.
2017-03-26 17:16:42 -04:00
SpirosChadoulos
2fbc7f0e70 Added a terminal bell if interaction from the user is required 2017-03-26 13:40:40 +03:00
Antonio Larrosa
47cc959127 Fix import of multidisc releases with subdirectories
Don't stop collapsing paths when iterating over subdirectories of
already collapsed paths.

Fixes #2493
2017-03-25 20:47:07 +01:00
nath@home
920784a42d Play: handle plural in warning output 2017-03-23 22:46:23 +01:00
Adrian Sampson
91b65ca5ab Changelog for #2484 2017-03-20 22:19:10 -04:00
Adrian Sampson
953dc66668 Merge pull request #2484 from jansol/master
Change default aac encoder to FFmpeg's native one
2017-03-20 22:18:01 -04:00
Jan Solanti
7cf7bc5ff6 Change default aac encoder to FFmpeg's native one
FFmpeg's native aac encoder was declared stable in 3.0 (Feb 15. 2016).
Support for libfaac was removed some time later:
http://git.videolan.org/?p=ffmpeg.git;a=commit;h=dc0f711459e0c682bf9f94ba38d26736e90cff45
2017-03-20 22:15:17 +02:00
Adrian Sampson
dcf2d977c4 Merge pull request #2482 from obiesmans/reverse_proxy_support
Reverse proxy support
2017-03-20 09:38:56 -04:00
Olivier Biesmans
cf384109f0 Make falke8 happy and reference flask doc for the ReverseProxied class 2017-03-19 21:16:26 +00:00
Adrian Sampson
9b383f87f4 Docs: consistent description of a Boolean option 2017-03-19 21:27:00 -04:00
Adrian Sampson
095f596e5c Clarity in the reverse_proxy docs 2017-03-19 21:25:18 -04:00
Adrian Sampson
be85825b60 Typo and formatting fixes in docs 2017-03-19 21:20:14 -04:00