Adrian Sampson
ae7990322a
Merge pull request #2032 from pszxzsd/bs1770
...
make bs1770gain calculate sample peak instead of true peak
2016-06-02 16:17:04 -07:00
Johnny Robeson
9ed9faf246
add some b' to paths in sort tests
2016-06-02 18:52:32 -04:00
Adrian Sampson
581fba6288
lyrics: Avoid crash when enabling google
...
If you *both* haven't set an API key *and* BeautifulSoup wasn't
installed, the list.remove() call would crash. (This came up when
running the tests on a fresh machine without many dependencies.)
2016-06-02 11:58:14 -07:00
Adrian Sampson
2228e0e8e1
More binary-mode open in tests
2016-06-02 11:52:56 -07:00
Adrian Sampson
82640260c2
Tests: don't unload the beetsplug module
...
This was added in 1666f883e3 back in 2013. I'm
not sure why this *ever* worked to get beetsplug to point to the right
directory, but I believe it was superseded by the path manipulation in
aa07eb9551 , added in 2014. And now, it's causing
problems on Windows, where for some reason it's causing `import beetsplug.x`
to silently succeed but yield an empty `beetsplug`, without `x` in the
namespace.
2016-06-02 11:41:25 -07:00
Adrian Sampson
07c95a1bf1
Require an imaging backend for fuzzy ratio tests
...
These fail outright if we don't have a way to get image sizes (e.g.,
ImageMagick).
2016-06-02 11:39:05 -07:00
Adrian Sampson
23f39982bc
Remove accidentally-added log file
2016-06-02 11:33:52 -07:00
Adrian Sampson
e71e17d924
Open image file as binary in tests
2016-06-02 10:17:02 -07:00
pszxzsd
7744c6bd90
add changelog entry for bs1770gain peak fix
2016-06-02 11:03:59 +02:00
pszxzsd
8dcd50b18f
make bs1770gain calculate sample peak instead of true peak
2016-06-01 20:00:08 +02:00
Adrian Sampson
9f8b81a5ad
Fix variable reference in stub
2016-05-31 18:13:50 -07:00
Adrian Sampson
e8c8f9fb14
Possibly make the convert stub work on Windows
2016-05-31 18:08:26 -07:00
Adrian Sampson
f96aa24a79
Convert stub: use __future__ imports
...
Even tiny stubs can't escape the wrath of flake8!
2016-05-31 17:55:12 -07:00
Adrian Sampson
fc3f64de95
Convert stub: Python 3 compatibility
...
Important for systems where `python` is 3.x, like Arch, even when beets itself
is running on Python 2.
2016-05-31 17:52:32 -07:00
Adrian Sampson
40369c6ab2
Move convert stub script to its own file
2016-05-31 17:50:54 -07:00
Adrian Sampson
2a9be12503
Fix partial commit of change
2016-05-31 15:35:59 -07:00
Adrian Sampson
075cc10d1c
Fix encoding for Windows path resolution
2016-05-31 15:34:17 -07:00
Adrian Sampson
469aee9848
Correctly encode arguments in tests
2016-05-31 15:32:09 -07:00
Adrian Sampson
9e27c9e5ac
Fix duplicated argument in test
2016-05-31 15:19:34 -07:00
Adrian Sampson
17681145c2
Fix a too-long line
2016-05-31 13:52:27 -07:00
Adrian Sampson
6ff7271ea0
Refactor convert command tests
...
This lets us force the use of explicit path: queries on the command line
instead of implicit path queries. This is more robust and works on
Windows, which currently gets confused when path components start with
`c:`.
2016-05-31 13:46:44 -07:00
Adrian Sampson
5b2fb8dcdc
Queries with \ are path queries on Windows
2016-05-31 13:29:00 -07:00
Adrian Sampson
1eb03a0de5
Query tests: use normalized paths
...
Match ordinary beets behavior by storing normalized paths in the
database. This matters on Windows, where normalization adds backslashes
and drive letters.
2016-05-31 13:12:32 -07:00
Adrian Sampson
33a4767eaf
Portable mock command for testing convert plugin
2016-05-31 11:48:29 -07:00
Adrian Sampson
2b9f4773a9
Version bump: 1.3.19
2016-05-31 10:43:36 -07:00
Adrian Sampson
9bb6f1e893
Add date for 1.3.18 release
2016-05-31 10:42:56 -07:00
Adrian Sampson
dfe0730e22
Reorganize changelog for release
2016-05-31 10:41:37 -07:00
Adrian Sampson
a440e44abd
Proofread the changelog
2016-05-31 10:33:56 -07:00
Adrian Sampson
da4bd64b18
Fix broken links to EchoNest docs
2016-05-30 22:40:30 -07:00
Adrian Sampson
2f4c7ee7a5
Simplify export plugins
2016-05-30 22:38:24 -07:00
Adrian Sampson
395877d903
Remove the Echo Nest plugin 😢 ( #1920 )
2016-05-30 22:25:58 -07:00
Johnny Robeson
81484529c9
remove b' from a few more stdlib calls
2016-05-31 00:13:09 -04:00
Johnny Robeson
330306bbe2
remove bytes casts from object/method resolution code
2016-05-30 23:21:24 -04:00
Johnny Robeson
e6ab231f72
Revert "Remove bytes casting for non-path command args/opts"
...
This reverts commit 2a6e74bc27 .
2016-05-30 22:00:42 -04:00
Johnny Robeson
2a6e74bc27
Remove bytes casting for non-path command args/opts
2016-05-30 21:42:44 -04:00
Johnny Robeson
35c539b5a4
remove b' from various web request respones
2016-05-30 21:30:17 -04:00
Johnny Robeson
94bab42f97
use strings (not bytes) for flask responder names
2016-05-30 21:19:15 -04:00
Johnny Robeson
28c0c95ed9
remove b' from struct (un)packing calls
2016-05-30 20:30:21 -04:00
Johnny Robeson
7a1ca51c49
remove b' from platform checks
2016-05-30 20:29:17 -04:00
Johnny Robeson
023ad9f48f
remove b' from pipline sentinels
2016-05-30 20:28:36 -04:00
Johnny Robeson
cd1f79340f
remove explicit b' from sql query dict key names
2016-05-30 18:50:11 -04:00
Johnny Robeson
32d4545b5e
set min-version to 2.7 in setup.cfg
2016-05-30 16:32:34 -04:00
Johnny Robeson
88c5fe6069
add missing space in mediafile comment
2016-05-30 15:44:21 -04:00
Johnny Robeson
9193cb3f45
Revert "readd deprecated plugins search with name == b'name'"
...
This reverts commit a5921f625c .
2016-05-30 15:43:12 -04:00
Johnny Robeson
62ba435cd6
keyword args can't be bytes, so remove b' prefix
2016-05-30 01:59:17 -04:00
Johnny Robeson
358c60e43b
reword a comment in mediafile
2016-05-30 01:58:05 -04:00
Johnny Robeson
c52394c499
fix the rest of b'__main__':
2016-05-30 01:11:37 -04:00
Johnny Robeson
a5921f625c
readd deprecated plugins search with name == b'name'
...
This is to make sure we can still load plugins based off official
plugins between the time of 9c41c39913 and 71b9fd785c
2016-05-30 01:03:18 -04:00
Adrian Sampson
71b9fd785c
Revert "Do __name__ comparison with bytes and not unicode"
...
This reverts commit 9c41c39913 .
That commit used byte strings for the `if __name__ == '__main__'` pattern,
which was necessary when we were doing unicode_literals. But it is wrong on
Python 3, and now that we're liberated from unicode_literals, we need to go
back to native strings for this comparison.
2016-05-29 19:19:59 -07:00
Johnny Robeson
662bc1858d
use list() on map() when we really want lists not iters
2016-05-29 20:49:06 -04:00