Commit graph

5505 commits

Author SHA1 Message Date
David
c3745ce6c2 typo: exapnds -> expands 2015-04-09 12:30:38 -04:00
Bruno Cauet
882844bc77 Echonest conversion command: only use byte strings
Temp file name was unicode, so if other parts of the command were
utf8-encoded non-ascii strings the command would fail (in
beets.util.command_output()). Requesting a temp file with a byte string
path fixes the issue.

Fix #1407.
2015-04-09 18:05:41 +02:00
jmwatte
7ac6ba53ff fix bs1770gain for windows and exceptionally big albums 2015-04-09 18:02:32 +02:00
jmwatte
f1f7094938 fix bs1770gain for windows and exceptionally big albums 2015-04-09 17:18:26 +02:00
Adrian Sampson
51cd6ad90e Changelog for #1402 2015-04-07 22:52:43 -05:00
Adrian Sampson
018f479ced Revert extra variables and whitespace from #1402 2015-04-07 22:50:37 -05:00
Adrian Sampson
04bca2f48c Merge pull request #1402 from multikatt/#1401
Sorting printing of fields
2015-04-07 22:49:47 -05:00
multikatt
c32bb850ca Remove redundant sort() 2015-04-07 21:26:30 -04:00
multikatt
956fa2cc52 Sorting printing of fields 2015-04-07 21:21:03 -04:00
multikatt
58a8a3d386 Check for failed ipfs get:s 2015-04-07 15:01:12 -04:00
multikatt
4e4fa0580a Renaming hash to not collide with built in funct 2015-04-07 14:31:12 -04:00
Frederik “Freso” S. Olesen
8788d6b764 Fix typo: dox → doc 2015-04-07 15:28:13 +02:00
Frederik “Freso” S. Olesen
0d21e816d4 Fetchart: Remove hard 500px size limit for CAA cover art.
Using -500 URLs for coverartarchive.org will only ever return images
where the biggest dimension is (width or height) is 500 pixels,
regardless of what fetchart settings are otherwise set.

This commit removes the -500 from the URL entirely rather than using it
conditionally, since a maxwidth of 500 will allow for a 600 high and 500
wide image, but CAA.org/...-500 would return a 500x417 image instead, so
not enforcing a size is the only way to ensure the user's {max,min}width
settings are properly respected.
2015-04-07 15:24:01 +02:00
multikatt
00f2e58fe8 Remove unused import 2015-04-06 18:47:17 -04:00
multikatt
f2d298d17c More linting 2015-04-06 18:11:38 -04:00
multikatt
540a267f9d Using self._log instead of ui.print_ 2015-04-06 17:48:25 -04:00
multikatt
247b4739ae Adding docstring 2015-04-06 17:21:51 -04:00
multikatt
85544199a7 Cleanup after download 2015-04-06 17:05:46 -04:00
multikatt
d3aff50dbe Linting 2015-04-06 16:20:37 -04:00
multikatt
0ab65fa566 adding get command 2015-04-06 15:34:17 -04:00
Tom Jaspers
5afe2e14aa Changelog entries for #1389 and #1394 2015-04-06 16:41:38 +02:00
Tom Jaspers
7bdcb08ef5 Merge pull request #1394 from tomjaspers/fetchart-minwidth-ratio
Fetchart: minwidth and enforce_ratio options
2015-04-06 11:20:33 +02:00
Tom Jaspers
2c6f29bfb6 Add tests for minwidth and enforce_ratio 2015-04-06 11:12:16 +02:00
Adrian Sampson
020ed0c76b Merge pull request #1389 from tomjaspers/faster-levenshtein
Use Levenshtein distance from Jellyfish library
2015-04-05 23:41:27 -05:00
multikatt
23d16d7b94 Very rough first version
The plugin can add items existing in the library to ipfs
2015-04-06 00:28:22 -04:00
Adrian Sampson
b94088eceb Version bump for dev: 1.3.12 2015-04-05 23:26:37 -05:00
Adrian Sampson
e1013fe9c9 Merge branch 'master' of github.com:sampsyo/beets 2015-04-05 23:24:53 -05:00
Adrian Sampson
bd6cea4204 release.py is Py3k 2015-04-05 23:19:21 -05:00
Adrian Sampson
445543fb04 Release date for 1.3.11 2015-04-05 23:18:00 -05:00
Adrian Sampson
1966b1c31e Merge pull request #1396 from multikatt/patch-1
Update plugins.rst
2015-04-05 22:06:09 -05:00
David
09100c4a55 Update plugins.rst
The class is called CommonOptionsParser, Option*s*.
2015-04-05 22:44:08 -04:00
Adrian Sampson
eba9392aa4 Changelog summary paragraphs 2015-04-05 16:52:06 -07:00
Adrian Sampson
8452a1645c Sort plugin names in version output 2015-04-05 14:28:07 -07:00
Adrian Sampson
61ffc165df Tests: avoid leaking a mock
The decorator is now necessary because we're patching a module-global.
2015-04-05 12:28:14 -07:00
Adrian Sampson
0af2cdaa3a New beets.art image utilities
This makes it cleaner to share the high-level image-embedding logic between
the `embedart` and `convert` plugins. This resolves a regression, introduced
in f504c786, that inadvertently activated the former plugin when the latter
was enabled. I also like avoiding cross-plugin imports.
2015-04-05 12:15:38 -07:00
Adrian Sampson
677d1e0b15 Clean up 1.3.11 changelog 2015-04-05 10:27:16 -07:00
Adrian Sampson
97890d989f Changelog converter: handle :user: and 🐛 2015-04-04 21:23:22 -07:00
Adrian Sampson
cf39977fbb Fix #1393: rewrite broken for album-level fields
We now create a computed field for albums as well as items. (This plugin is
very old!)
2015-04-04 16:03:12 -07:00
Tom Jaspers
b5ec26c949 Fetchart: minwidth & enforce_ratio options
- Minimum image width can be specified via minwidth (default `0`)
- The image ratio can be enforced to 1:1 using `enforce_ratio` (default `no`)

See #1058
2015-04-04 20:52:08 +02:00
Bruno Cauet
eef82aea59 Update discogs_client version: 2.0.0 to 2.1.0
Concludes #1345.
2015-04-02 11:19:15 +02:00
Bruno Cauet
76be623031 Fix concurrent logging testing
Set the verbosity in the config from the beginning.

Use self-made barriers (DummyPlugin.step1, DummyPlugin.step2) and
Thread.join() to ensure everything is going as expected.
2015-04-01 17:38:49 +02:00
Bruno Cauet
2c37602d66 Concurrent logging tests: raise thread exc in main thread
In ConcurrentEventsTest.test_concurrent_events listener1 sometimes has a
wrong log level. However the AssertionError is raised in a thread and
not the main one, so the test seems passing while it should fail.
By storing the exception and raising it later we solve that issue,
allowing to fix the random fail.
2015-04-01 17:06:42 +02:00
Bruno Cauet
0fdcaaf281 Optimise beets.util.plurality()
Shorter & more idiomatic code: rely on collections.Counter()
2015-04-01 15:51:00 +02:00
Bruno Cauet
fa4d0b39a0 Item.read(): use int.bit_length()
Available now that py26 support's been dropped.
2015-04-01 15:49:19 +02:00
Adrian Sampson
1750d997d1 Remove some outdated OS X versions 2015-04-01 07:47:34 -05:00
Bruno Cauet
634df9f219 Remove python 2.6 from .travis.yml 2015-04-01 10:51:39 +02:00
Bruno Cauet
5e26d483a8 Replace deprecated assertEquals with assertEqual. 2015-04-01 10:48:03 +02:00
Bruno Cauet
bad87c1668 Delete hacks & workarounds for python 2.6 2015-04-01 10:46:22 +02:00
Bruno Cauet
c6f6e3164a Merge branch 'thread-safe-logging2' 2015-04-01 10:45:12 +02:00
Bruno Cauet
f6f68420b5 Drop Python 2.6 support
See PR #1366 and PR #1390 for a thorough explanation.
2015-04-01 10:43:33 +02:00