Adrian Sampson
0cbb40869a
Merge pull request #2403 from antlarr/master
...
Run python2 or python3 depending on what's being used
2017-04-15 11:28:45 -04:00
Adrian Sampson
fb7296711c
Fix Windows encoding in convert stub ( #2516 )
2017-04-15 11:27:19 -04:00
Adrian Sampson
e709ae6dd5
Changelog for #2516
2017-04-15 11:13:47 -04:00
Jakub Wilk
d3664ad5db
Fix misuse of flags in re.sub() calls
...
The 4th argument of re.sub() is maximum number of substitutions,
not flags.
2017-04-15 14:44:19 +02:00
MolarAmbiguity
a526eb7222
Implement feedback from sampsyo
2017-04-15 09:23:35 +10:00
SpirosChadoulos
d4413a2bc4
obj instead of item
2017-04-15 00:54:09 +03:00
Mary Koliopoulou
cf744eb1f7
Update db.py
2017-04-14 19:42:23 +03:00
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
SpirosChadoulos
8f3ca12179
Put export before confirm
2017-04-14 12:19:16 +03: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
SpirosChadoulos
4745c262e2
New export command
2017-04-13 12:51:11 +03: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