Adrian Sampson
7061f7ff47
Use byte path consistently in hidden test ( #2168 )
2016-08-13 10:11:52 -04:00
Adrian Sampson
162bf6a594
Fix path handling in hidden module
...
Probably fixes #2168 .
2016-08-13 09:54:25 -04:00
Adrian Sampson
0833c82075
web: Fix a crash related to byte paths on Python 3
2016-08-12 19:59:07 +00:00
Johnny Robeson
644cb86b24
Merge pull request #2167 from arogl/patch-1
...
Spelling update toke -> token
2016-08-12 02:24:21 -04:00
arogl
86d2129c52
Spelling update
2016-08-12 14:48:55 +10:00
Johnny Robeson
a98412bc0e
Merge pull request #2151 from jrobeson/python3-windows-tests-test
...
Pass the tests on Windows
2016-08-11 22:31:06 -04:00
Johnny Robeson
72a55957a9
remove allow_failures for python 3.x from appveyor
2016-08-11 21:58:58 -04:00
Johnny Robeson
c26266cab0
convert byte args to string on PY3 in command_output
...
The strings are surrogateescaped to make sure we can get the bytes
representation back
2016-08-11 21:58:58 -04:00
Johnny Robeson
10d7a6f46a
add -y to cinst command in appveyor.yml
...
[ci skip]
2016-08-10 21:29:08 -04:00
Johnny Robeson
bcc77f747b
encode args before decode in convert_stub.py for py 3
...
We encode the args from `sys.argv` with `util.arg_encoding` to
make sure we have paths that cleanly open when running
`convert_stub.py` on Windows
2016-08-10 05:18:39 -04:00
Johnny Robeson
fb78830788
fix incorrect bytes() usages in replaygain
...
We encode the method and gain offset values to ascii.
2016-08-09 05:17:53 -04:00
Johnny Robeson
d32aa00154
remove bytes() on maxwidth in artresizer
...
This would definitely break on py3.
2016-08-09 04:34:40 -04:00
Johnny Robeson
d41949d326
close files we open, but forgot to close
...
This fixes all the obvious `ResourceWarning`s seen in the tests
2016-08-09 01:15:28 -04:00
Johnny Robeson
fcbfce3984
replace deprecated log.warn() with log.warning()
2016-08-09 00:33:38 -04:00
Johnny Robeson
5abbd3e590
Merge pull request #2163 from jrobeson/fix-edit-plugin-unicode-warning
...
decode yaml dumped data as utf-8 in edit plugin for PY2
2016-08-09 00:11:47 -04:00
Johnny Robeson
47bddb394c
decode yaml dumped data as utf-8 in edit plugin for PY2
...
Yaml doesn't return a true unicode string even with `allow_unicode`
passed to `safe_dump_all`.
2016-08-08 23:59:54 -04:00
Johnny Robeson
19240f3ba8
Merge pull request #2159 from jrobeson/utf8-edit-plugin-yaml
...
Read and write edit plugin yaml as utf-8
2016-08-07 16:01:43 -04:00
Adrian Sampson
4c710e2bb6
Merge pull request #2156 from jrobeson/add-flake8-coding
...
add flake8-coding to our tox config
2016-08-07 14:39:51 -04:00
Johnny Robeson
303627e44f
Read and write edit plugin yaml as utf-8
2016-08-07 06:12:48 -04:00
Johnny Robeson
08cd22834b
add flake8-coding to our tox config
...
Now we can enforce that all py files have the coding magic comment with
utf-8.
2016-08-07 04:09:58 -04:00
Johnny Robeson
5b3cd44608
add coding: utf-8 magic comment to every .py file
2016-08-07 04:09:17 -04:00
Johnny Robeson
f04d928c6e
Merge pull request #2154 from jrobeson/move-_arg_encoding-to-util
...
Move ui._arg_encoding to util.arg_encoding
2016-08-04 23:00:39 -04:00
Johnny Robeson
304df82361
rename/move ui._arg_encoding to util.arg_encoding
...
We use this for more than ui concerns, so it should be in util.
It is also no longer marked as a "private" method.
2016-08-04 17:16:11 -04:00
Adrian Sampson
f001c0c532
Require Mutagen 1.33
...
This simplifies the exception-handling story. It also clarifies exactly what's
going on, which I didn't fully realize before: Mutagen *never* raises IOError
anymore, even for IO-related errors, so MediaFile doesn't either.
2016-08-02 08:39:14 -04:00
Adrian Sampson
3d7c8810e7
Deduplicate Mutagen error handling code
2016-08-02 08:24:37 -04:00
Johnny Robeson
70b58c1905
use normpath() in all cases for assert_equal_path
...
This fixes issues with comparing string (via syspath) and bytestring paths on Windows.
2016-08-01 18:33:59 -04:00
Johnny Robeson
bb58a85083
Merge pull request #2146 from jrobeson/add-imagemagick-to-appveyor
...
install imagemagick on appveyor (via cholatey)
2016-07-31 21:16:46 -04:00
Adrian Sampson
39430764f3
Install command for NixOS ( fix #2150 )
2016-07-31 12:36:23 -04:00
Johnny Robeson
86cfe24d79
depend on six>=1.9 as it adds functions we need
...
1.9.0 is the release that added the `@py2_unicode_compatible` and the
3.x compatible unittest aliases we rely on
2016-07-31 03:59:44 -04:00
Johnny Robeson
8b21346fdd
add changelog entry for python ver in beet --version
2016-07-31 02:56:26 -04:00
Johnny Robeson
15a8409535
add python version to beet --version
2016-07-31 02:48:07 -04:00
Johnny Robeson
ae21d3dcf5
install imagemagick on appveyor (via cholatey)
2016-07-30 23:14:09 -04:00
Adrian Sampson
8a78de44b0
Changelog wording tweak for #2143
2016-07-27 14:59:05 -04:00
Adrian Sampson
e2981dec4a
Merge pull request #2143 from Jell-E/patch-1
...
Add BPM data with acousticbrainz
2016-07-27 14:58:10 -04:00
Adrian Sampson
c241f09bce
Tiny text tweaks for #2144
2016-07-27 14:56:55 -04:00
Adrian Sampson
6f99c4ccd9
Merge pull request #2144 from tweitzel/master
...
fix bug where $args would be included in the command output
2016-07-27 14:55:20 -04:00
xarph
be7c9d3b67
Remove unneeded if clause since .format will silently pass if the needle
...
is not found.
Add changelog note.
2016-07-27 11:23:37 -07:00
Jelle Besseling
f1deb0c545
Update AcousticBrainz docs for PR #2143
2016-07-27 20:16:06 +02:00
Jelle Besseling
6b193342b5
Update changelog for PR #2143
2016-07-27 20:15:35 +02:00
Adrian Sampson
5e3bbf2aeb
Remove remaining links to Google Code ( fix #2145 )
2016-07-27 13:32:41 -04:00
Johnny Robeson
21cfe980ec
remove some trailing whitespace
2016-07-27 02:57:04 -04:00
Johnny Robeson
47c2ed001a
update gstreamer package names to their 1.0 versions
...
We no longer support 0.10 versions, so these were wrong
2016-07-27 02:57:04 -04:00
Johnny Robeson
01483f9600
change most googlecode refs to their new locations
2016-07-27 02:57:04 -04:00
xarph
349a3260f8
Apparently py34-flake8 wants whitespace around operators.
2016-07-26 16:08:52 -07:00
xarph
9fb763e151
fix bug where $args would be included in the command output if $args was
...
set in config but -A or --args was left off the beet play command.
2016-07-26 15:41:45 -07:00
Adrian Sampson
327bebbd23
Merge pull request #2141 from beetbox/remove_patch_dot_start
...
(Mostly) remove patch dot start
2016-07-26 09:44:06 -04:00
Jelle Besseling
b4caa0e475
Add BPM data with acousticbrainz
...
The bpm plugin is a very slow way to add bpm data to songs, using the acousticbrainz plugin is much faster and can doesn't need a new plugin.
2016-07-26 15:42:35 +02:00
Johnny Robeson
f2998d279a
remove py 3.4 and 3.5 from travis allowed_failures
2016-07-25 15:58:52 -04:00
Adrian Sampson
8a234ebc55
Use flake8 3.0 style for import errors
...
It worked in previous versions to put `noqa` on the non-import line that
preceded the imports. As of flake8 3.0.0, we apparently need to ignore the
import-after-non-import error on every `import` line.
2016-07-25 15:11:10 -04:00
Adrian Sampson
5665696b87
Remove unnecessary path fiddling
...
I don't know why this was here in the first place -- imports from `beetsplug`
should work fine without this mess.
2016-07-25 15:08:36 -04:00