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
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
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
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
Bruno Cauet
e374830cca
Path queries: use {norm,sys}path on path.
...
Finishes #1385 .
2015-04-01 09:55:24 +02:00
Bruno Cauet
05de43a942
Share logging level between beets base logger refs
...
Add BeetsLogger.set_global_level() so the 'beets' logger has the same
level in all threads, which is important for an import session.
2015-03-31 18:03:11 +02:00
Adrian Sampson
8ae0317014
bpd: Process commands as bytes ( fix #1388 )
2015-03-31 07:13:13 -05:00
Adrian Sampson
882723a0bf
Merge pull request #1387 from brunal/improve-path-query
...
Improve path query: autodetect only if the target exists
2015-03-30 22:36:25 -05:00
Tom Jaspers
c95b89ebc1
Thumbnails: add None check on lib_name
...
`find_library` could return None, which would not cause an OSError
from `loadLibrary`, making the plugin (falsely) think the library is available
Also fixed wrong method call to skip test in that case
See #1277
2015-03-30 19:56:22 +02:00
Bruno Cauet
8a71935a95
Document path detection update
2015-03-30 13:18:35 +02:00
Bruno Cauet
ad34642877
Improve path query parts detection: test existence
...
Detect path parts of a query with `PathQuery.is_path_query()` which
tests for `os.sep` presence AND query part existence.
Also fix a bug where "my_path/" would not get detected: colon absence would
make search for `os.sep` only happen in "my_path".
Fix #1385 .
2015-03-30 13:08:14 +02:00
Adrian Sampson
e953e6bdcb
Merge branch 'master' of github.com:sampsyo/beets
2015-03-29 14:28:22 -07:00
Adrian Sampson
105ee6d276
Fix propagation of redact flag
2015-03-29 14:27:55 -07:00
Adrian Sampson
c37561c74b
Redact by default ( #1376 )
2015-03-29 14:26:16 -07:00
Adrian Sampson
e7bba32a44
Redact some API keys
2015-03-29 14:22:49 -07:00
Bruno Cauet
9705c09035
Merge branch 'thumbnails'
2015-03-29 21:44:42 +02:00
Adrian Sampson
22d5d34253
Changelog for #1377
2015-03-29 12:12:04 -07:00
Adrian Sampson
eeca2105f9
Merge pull request #1377 from amishb/custom_ft_title
...
ftintitle plugin now allows a custom format to be defined (Correct Branch)
2015-03-29 12:05:53 -07:00
Pedro Silva
13d65f9c37
fix default format from config
...
The (automated?) change to add_format_option had broken the existing
formating logic
2015-03-28 17:23:11 +01:00
Amish Bhadeshia
9a38b07ed4
Housekeeping and styling changes
2015-03-28 11:20:28 +00:00
Pedro Silva
82ce6f054d
make helper functions methods in plugin
...
This helps use the _log attribute that is now available
2015-03-28 10:08:07 +01:00
Pedro Silva
8feb4bdf34
update changelog with #66e06ba fix for #1000
2015-03-28 09:48:13 +01:00
Adrian Sampson
a5add050d4
Changelog for #1382 , #1383
2015-03-27 23:05:23 -04:00
Adrian Sampson
ef5052e111
Merge pull request #1383 from autochthe/convert/tmpdir
...
convert: Add 'tmpdir' option
2015-03-27 23:05:18 -04:00
Adrian Sampson
819883b2b6
Add note about YAML to guide ( close #1370 )
2015-03-27 22:54:47 -04:00
Adrian Sampson
37860bf2ef
--redacted is now --redact
...
Seems more direct to me.
2015-03-27 22:44:32 -04:00
Adrian Sampson
07516b2bca
Redact some passwords in plugins
2015-03-27 22:42:28 -04:00
Adrian Sampson
b621fd439b
Fix redaction in non-full dumps
2015-03-27 22:39:38 -04:00
Adrian Sampson
1539af2a07
Fix tests for new redaction
2015-03-27 22:27:03 -04:00