Johnny Robeson
f87486c1fa
pass bytestringed names to fnmatch_all()
...
Due to `syspath`, fnmatch ends up comparing strings to bytes, so we must
make sure they are bytes. Fixes #2124
2016-07-20 23:35:22 -04:00
Rob McGhee
af24277ad3
Emby API Key Update
...
Added note to the Emby Plugin Documentation
2016-07-20 21:17:45 +01:00
Rob McGhee
84b8cf0ab5
Merge remote-tracking branch 'refs/remotes/beetbox/master'
2016-07-20 21:13:32 +01:00
Johnny Robeson
e7428972ca
Merge pull request #2130 from JDLH/pydev-eclipse-support
...
Ignore PyDev and Eclipse project settings.
2016-07-18 03:04:27 -04:00
Jim DeLaHunt
2885a189f8
Ignore PyDev and Eclipse project settings.
2016-07-17 23:42:29 -07:00
Johnny Robeson
1da919bc40
open lastgenre genres file with codecs.open()
...
This should fix an error when decoding the file on Windows. It defaults
to using the code page there and not utf-8 as intended for yaml.
2016-07-17 06:57:38 -04:00
Johnny Robeson
1ee7a3e2f1
Merge pull request #2127 from jrobeson/require-py34-flake8
...
replace py27-flake8 with py34-flake8
2016-07-16 22:23:23 -04:00
Johnny Robeson
9aeaff0e9a
replace py27-flake8 with py34-flake8
...
We definitely want py34-flake8 to succeed, so we don't end up with
`unicode` and other py27 specific. With that in mind, we don't need
py27-flake8 anymore either.
2016-07-16 22:16:04 -04:00
Johnny Robeson
21dbc9cbab
use windows specific language for symlink exceptions
...
This now shows our original OS symlink error when Windows version < 6 (Vista) and also shows any other OS error that might be raised.
This fixes #2114
2016-07-16 01:49:11 -04:00
Johnny Robeson
65e38896ad
except on NotImplementedError in util.link
...
NotImplementedError is raised on python >= 3.2 and Windows versions before Vista. This is one part of the fix for #2114
2016-07-16 00:22:01 -04:00
Johnny Robeson
22c6d85535
remove tb.format_exc() from util.link replace
2016-07-15 17:40:48 -04:00
Johnny Robeson
80bb550f45
remove useless format_exc in util.move
...
There isn't a traceback for us to format here, so it errors out on
certain versions of python 3
2016-07-15 03:06:14 -04:00
Johnny Robeson
18b57ea022
clear argv before running commands in the test suite
...
Fixes #2123
2016-07-14 03:33:29 -04:00
Johnny Robeson
41fb0d9287
Explicitly sort match candidates by distance
...
Python 3 is stricter when sorted values compare equally, so we explictly
sort by distance. This fixes #2125
2016-07-14 03:23:39 -04:00
Johnny Robeson
7e150481b6
compare test_types plugin test output as strings
...
Since we're using StringIO (and equivalent in DummyIO), we can just use
strings here.
2016-07-11 02:25:22 -04:00
Johnny Robeson
910a1b93f5
don't test symlink related functions on Windows
...
They do work, but only with admin privs. Related discussion in #2114
2016-07-10 20:26:21 -04:00
Johnny Robeson
a1edf1928d
treat bpd command and args as strings, not bytes
2016-07-10 19:21:52 -04:00
Johnny Robeson
f82f5f51a4
use !r for command exec logging in play plugin
...
This is a bit simpler and is compatible with py2 and 3.
2016-07-10 06:00:53 -04:00
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