Commit graph

7983 commits

Author SHA1 Message Date
Johnny Robeson
5107f2e6d2 add missing py3_path to tempdir in convert plugin 2016-07-10 04:59:58 -04:00
Johnny Robeson
f9dfd34602 use py3_path for archive (ZipFile, etc) filenames
ZipFile and RarFile both only accept string filenames on py3, not
bytestrings.
2016-07-10 01:53:24 -04:00
Johnny Robeson
17883bc501 replace os.symlink() with util.link() in importfeeds 2016-07-09 22:44:26 -04:00
Johnny Robeson
3db81a3345 bytestringify tmpdir in convert plugin
This works fine in py 3.5, but not 3.4
2016-07-09 03:50:16 -04:00
Johnny Robeson
cb6efc4c22 Reorganize Gst import and version req in bpd
This avoids

```sh
PyGIWarning: Gst was imported without specifying a version first. Use
gi.require_version('Gst', '1.0') before import to ensure that the right
version gets loaded.
```

by silencing E401 import ordering warning
2016-07-08 05:48:26 -04:00
Rob McGhee
2dad86291e Emby API Key
Corrected the use of spaces rather than tabs. Add the option to use an
Emby API key to authenticate rather than a password
2016-07-07 22:46:33 +01:00
Johnny Robeson
bb15829b17 add missing b' to config.yaml files in ui tests
I'd not gotten around to doing this because of other py3 test
issues, but here we go now!
2016-07-07 03:44:19 -04:00
Johnny Robeson
a221a120c4 fix keyfinder command name comparison in test 2016-07-07 03:44:19 -04:00
Johnny Robeson
c9c37a8f79 adding missing b' to command name checks in replaygain 2016-07-07 03:44:19 -04:00
Johnny Robeson
1119e219b3 adjust bytestring treatment of ext in convert plugin 2016-07-07 03:44:19 -04:00
Rob McGhee
3710c139fb Emby API Key
Add the option to read an API Key from the config file and submit that
instead of needing a password. Doesn't remove the use of password so is
backwards compatible with users current config file
2016-07-06 19:42:57 +01:00
Johnny Robeson
b5d22ec7b8 don't install pathlib on py 2.7
Fixes #2105
2016-07-05 22:29:45 -04:00
Jack Wilsdon
c264b09727 Merge pull request #2115 from mineo/chmod
chmod -x some files
2016-07-05 15:21:29 -04:00
Wieland Hoffmann
49f59115cb chmod -x image_unknown_type.mp3 2016-07-05 20:29:35 +02:00
Wieland Hoffmann
3aa5682a77 chmod -x plugins.py 2016-07-05 20:25:00 +02:00
Johnny Robeson
fa3fe86ac1 remove bytes() wrap from test helper fixture
It was already bytes, so this was redundant. It also broke the tests
on windows with py3.
2016-07-05 02:06:13 -04:00
Johnny Robeson
53d1dc905f add a missing bytestring_path in importer test 2016-07-05 01:33:43 -04:00
Johnny Robeson
cae6e128e4 use same symlink test in mediafile_edge as elsewhere 2016-07-05 01:29:38 -04:00
Johnny Robeson
0290c9eadb actually remove unconditional enum34 from setup.py 2016-07-04 16:15:56 -04:00
Johnny Robeson
b564683d59 use -m nose for tests on python 2.x too 2016-07-04 03:00:28 -04:00
Johnny Robeson
e434074bf0 reorganize tox.ini so we can pass -bb to our 3.x tests
It's done this way so the tests don't run twice on py 3.x tests

Thanks to @jackwilsdon for the tip!
2016-07-04 02:57:00 -04:00
Johnny Robeson
a15ae96616 add a missing text_string in play plugin
I don't think wanna send the cli args as bytes to the logger
2016-07-04 02:48:54 -04:00
Johnny Robeson
00bff81756 add a flush() method to test DummyOut
The method just runs `self.clear()`
2016-07-04 02:24:32 -04:00
Johnny Robeson
b9cd889ef4 decode ipfs item paths to satisy python -bb 2016-07-03 23:52:05 -04:00
Johnny Robeson
8c1e9e0dd4 add missing displayable_paths to satisify python -bb 2016-07-03 23:52:05 -04:00
Johnny Robeson
35d0e81949 add missing bytestring_paths for python -bb 2016-07-03 22:25:47 -04:00
Johnny Robeson
31a5292491 Merge pull request #2111 from jrobeson/try-trusty-travis
Try Trusty Travis
2016-07-03 21:29:34 -04:00
Johnny Robeson
d2045d7ce5 add imagemagick package
[skip appveyor]
2016-07-03 21:27:04 -04:00
Johnny Robeson
6f5e08a0bb switch travis env to trusty tahir (14.04)
[skip appveyor]
2016-07-03 21:26:27 -04:00
Johnny Robeson
164dafecd8 Merge pull request #2112 from jrobeson/add-appveyor-skip-alias
Add appveyor skip as an alias for skip appveyor
2016-07-03 20:51:48 -04:00
Johnny Robeson
f149bc39b0 Add appveyor skip as an alias for skip appveyor
Strangely while both "ci skip" and "skip ci" are supported (with brackets)
only "skip appveyor" is supported by default
2016-07-03 18:27:29 -04:00
Johnny Robeson
81887ed817 don't require enum34 on python < 3.4 2016-07-02 22:53:23 -04:00
Adrian Sampson
d6c62d08c4 Fill out changelog with prose summary 2016-07-02 10:17:53 -07:00
Adrian Sampson
b49d3344d4 Next release version is 1.4.0, not 1.3.20
It's time for a minor version bump with our six dependency and "experimental"
Python 3 support.
2016-07-02 10:11:31 -07:00
Adrian Sampson
40ab3f2992 Disable PyPI download badge
PyPI has disabled its download statistics tracking:
https://github.com/pypa/pypi-legacy/issues/396

So this badge was just saying "0 downloads." 😢
2016-07-02 10:09:50 -07:00
Adrian Sampson
093d6ecea2 Clean up changelog errors 2016-07-02 10:07:36 -07:00
Johnny Robeson
527b51147e add py3_path to NamedTemporaryFile suffixes 2016-07-02 04:53:57 -04:00
Johnny Robeson
915ec59500 bytestringify path from tempfile name in fetchart 2016-07-02 04:53:14 -04:00
Johnny Robeson
ce8d1c0c28 ignore undefined name (F821) warning for buffer 2016-07-02 02:42:29 -04:00
Johnny Robeson
be08d4b129 replace unichr with six.unichr in lyrics plugin 2016-07-02 02:36:05 -04:00
Johnny Robeson
ea3d4978c7 Merge pull request #2102 from jrobeson/add-unrar-to-travis
add unrar to .travis.yml
2016-07-02 02:31:08 -04:00
Johnny Robeson
e83b9ce14a add unrar to .travis.yml 2016-07-02 02:24:26 -04:00
Johnny Robeson
02680eba59 bytestringify a few more paths in test_importer 2016-07-02 01:52:00 -04:00
Johnny Robeson
24ae4bb056 encode path as utf-8 for is_path_query tests
is_path_query is not supposed to accept bytestrings
2016-07-02 01:24:25 -04:00
Adrian Sampson
6919d6980f Fix path types in test_unicode_path
This is lifted directly from 658e814ad718610004cbe6d865c8f2f62e676ffb.
2016-07-01 21:54:37 -07:00
Adrian Sampson
4ddb7cfe9e ID3 desc fields also use unicode strings
The old version *also* silently led to the string "b'foo'" being stored in the
frame on Python 3.
2016-07-01 21:47:18 -07:00
Adrian Sampson
30a172fff3 Properly handle exceptions in custom tag tests 2016-07-01 21:29:50 -07:00
Adrian Sampson
b68150a0b4 Merge branch 'master' of github.com:beetbox/beets 2016-07-01 21:24:07 -07:00
Adrian Sampson
17927303ed Store Vorbis image blocks using text strings 2016-07-01 21:21:31 -07:00
Adrian Sampson
a3236cbee0 Set APIC frame desc to unicode
Weirdly, using binary data here resulted in Mutagen storing a string
containing "b'foo'", i.e., the `repr` of a bytes object.
2016-07-01 21:15:33 -07:00