Commit graph

4999 commits

Author SHA1 Message Date
multikatt
0c596fd163 Break out query into its own function 2015-05-15 14:13:01 -04:00
multikatt
ef1f4965f0 Adding documentation 2015-05-15 13:59:43 -04:00
multikatt
a091f9e71a Add support for naming remote libraries 2015-05-15 13:25:50 -04:00
multikatt
4109d825d1 Clearing local paths from published libs 2015-05-15 11:51:18 -04:00
multikatt
3990ac185e adding list command, listing remote albums 2015-05-15 00:34:52 -04:00
multikatt
8cb262cbd1 Join all remote libraries albums into a single lib 2015-05-15 00:20:58 -04:00
multikatt
538a99599e Put all remote libs in a directory 2015-05-14 22:54:55 -04:00
multikatt
17e81b6d6c strip newlines from lines 2015-05-14 20:18:28 -04:00
multikatt
7927cb5f47 remove unused variable 2015-05-14 19:34:15 -04:00
multikatt
b3011fed6e Only publish albums/items added to ipfs 2015-05-14 19:05:22 -04:00
multikatt
835e58fa16 Add right files when adding folders with[...]
non music files.
2015-05-14 18:34:23 -04:00
multikatt
56d671745c Add support for importing remote libraries 2015-05-11 16:51:00 -04:00
multikatt
7be8765ee3 pep8 2015-05-11 15:59:23 -04:00
multikatt
da344c84fd Support for publishing library 2015-05-11 15:58:50 -04:00
multikatt
db641dccf2 Change print to self._log 2015-05-11 15:56:12 -04:00
multikatt
a3990e0b62 remove non empty directories 2015-05-11 15:33:45 -04:00
multikatt
b08ccb5d37 saving ipfs hashes in database 2015-05-11 15:27: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
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
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