mdecker
efafdaf054
Merge branch 'master' of git://github.com/sampsyo/beets
2011-04-18 11:05:25 +02:00
Adrian Sampson
db1f8a9158
merge
2011-04-17 23:05:09 -07:00
Adrian Sampson
007011f3a4
fix multiple directory import
2011-04-17 17:05:13 -07:00
mdecker
9c2b7a9653
Merge branch 'master' of git://github.com/sampsyo/beets
2011-04-17 23:17:10 +02:00
Adrian Sampson
1b3e7d9310
fix singleton invocation of pipeline
2011-04-17 13:35:00 -07:00
mdecker
18b7eabb35
add missing util package to setup.py
2011-04-17 20:30:27 +02:00
Adrian Sampson
3a5f9ecb38
TRACKS selection now runs singleton pipeline and forwards
2011-04-17 08:19:43 -07:00
Adrian Sampson
828f1aa4f1
multiple() function for sending many messages to next stage
2011-04-17 08:18:54 -07:00
Adrian Sampson
85cd3cdb84
add pipeline tests, fixing a bug with parallel stages in the process
2011-04-17 07:57:56 -07:00
Adrian Sampson
bf5c569884
simplify ImportTask for singletons: use .item instead of items[0]
2011-04-16 23:32:33 -07:00
Adrian Sampson
86b1f92824
fix some (suprisingly few) airplane-coding bugs
2011-04-16 00:42:33 -07:00
Adrian Sampson
ac9c2e6b19
don't offer TRACKS option for singletons
...
(Yep, still on that plane. Almost there...)
2011-04-15 21:17:29 -07:00
Adrian Sampson
6031f2dac7
much smarter input_options to simplify its callers
2011-04-15 21:11:43 -07:00
Adrian Sampson
375e335002
manual searching for singletons
...
(Still on a plane.)
2011-04-15 20:14:30 -07:00
Adrian Sampson
69dc998d7c
make choose_candidate apply to both items and albums
...
(I can't try this out right now because I'm on an airplane. That might be true
of the next few commits, too. Horrible errors will be fixed later.)
2011-04-15 19:58:35 -07:00
Adrian Sampson
be9dc888cb
fix crash when ~/.beetsconfig does not exist
2011-04-15 12:50:06 -07:00
Adrian Sampson
a0e0104d83
clean up some log handler addtions
2011-04-15 12:30:12 -07:00
Adrian Sampson
d1b7c8dc55
display track changes; some scaffolding for user query
2011-04-14 09:07:06 -07:00
Adrian Sampson
8df852dec0
non-autotagged singleton import
2011-04-13 22:10:35 -07:00
Adrian Sampson
6ba433e3b1
fix track query syntax
...
It turns out the documentation for MB was wrong here:
http://wiki.musicbrainz.org/XMLWebService#Searching_Tracks
At the time that I read it, at least, that said the field for track title was
named "title". It's actually named "track".
2011-04-13 21:33:37 -07:00
Adrian Sampson
f567c505d8
plugin item candidates, including lastid support for singletons
2011-04-13 21:20:21 -07:00
Adrian Sampson
6cfb862906
conditional deletes in some cases (suggested in #170 )
2011-04-13 20:23:33 -07:00
Adrian Sampson
94ab629e6b
fiddle with database transactions to fix timeouts
2011-04-13 20:07:16 -07:00
Adrian Sampson
45eef6e876
rename -i flag to -s ("singletons") and fix behavior
2011-04-12 23:31:44 -07:00
Adrian Sampson
12854ad2ff
very first stab at a working individual-item importer flow
...
"beet import -i" now tags items instead of albums. There are many loose ends to
tie up (marked with TODOs in the source):
- What to do about applying non-track metadata to matched tracks? Currently it's
just left in place.
- Plugin autotag candidates for tracks.
- No user querying yet.
- Non-autotagged -i import are unimplemented.
And, on top of those:
- Need to remove the action.TRACKS workflow and replace it with an option that
lets you jump over to the individual-track interface from the album tagger.
2011-04-12 23:22:03 -07:00
Adrian Sampson
026b738718
single-item autotagging infrastructure
2011-04-12 21:52:38 -07:00
Adrian Sampson
a39a5b5d66
extremely preliminary item importer skeleton
...
(I shouldn't have started on this yet; the autotagger functionality isn't in
place yet. Going back and doing that now...)
2011-04-12 20:52:39 -07:00
Adrian Sampson
237f20a0a8
single-track MusicBrainz searches
2011-04-12 17:56:56 -07:00
Adrian Sampson
6f9c460837
slight tweaks to tests to let them run under nose
2011-04-12 15:06:27 -07:00
Adrian Sampson
85ddfa4381
relocatable test rsrc directory
2011-04-12 14:26:48 -07:00
Adrian Sampson
c03ec1ee1c
add a multithreaded import test case
2011-04-12 14:11:43 -07:00
Adrian Sampson
89f33466e0
move non-autotagged import test (wasn't testing UI)
2011-04-12 14:09:17 -07:00
Adrian Sampson
0460d73e5e
more frequent and better-synchronized abort checks
...
Previously, if an abort occurred during a queue read, then the queue would
return None. With this extra check, the None is never exposed to the user code
(coroutine).
2011-04-12 14:04:30 -07:00
Adrian Sampson
fcee8b2ab6
remove special-cased non-autotagged import function (simple_import)
2011-04-12 13:57:05 -07:00
Adrian Sampson
856631a8a3
NEWS note about pipeline shutdown immediacy ( #101 )
2011-04-12 00:12:02 -07:00
Adrian Sampson
494c0f4d0e
handle KeyboardInterrupts in pipeline.py
2011-04-12 00:04:11 -07:00
Adrian Sampson
7600a8c0ad
pipeline revamp: parallel stages, immediate exception abort
...
The pipeline module now support stages that have multiple threads working in
parallel; this can bring ordinary task parallelism to parts of a pipelined
workflow. This change also involves making the pipeline terminate immediately
when an exception is raised in a coroutine.
2011-04-11 23:52:51 -07:00
Adrian Sampson
5d22405e63
merge Lugoues' pipeline fix
2011-04-11 09:43:25 -07:00
Peter B
e7782cc369
fixed issue in pipeline when the first coro sends the BUBBLE message
2011-04-11 12:31:17 -04:00
Adrian Sampson
86c8b036f7
NEWS note about refactor
2011-04-11 08:25:35 -07:00
Adrian Sampson
584cc74a5c
fix bug when "applying" sentinel
2011-04-11 08:21:36 -07:00
Adrian Sampson
7503c1174a
more natural-looking queries for comp field
...
You can now use "comp:true" or "comp:yes" as well as "comp:1".
2011-04-10 22:55:25 -07:00
Adrian Sampson
7d21b27554
use similarity in the README
2011-04-10 22:42:30 -07:00
Adrian Sampson
97376c530b
OMG, forgot to add util.__init__
2011-04-10 22:24:41 -07:00
Adrian Sampson
88fd6c604c
merge event fix from Lugoues
2011-04-10 22:22:16 -07:00
Adrian Sampson
a675988eb2
add and use fancy enumeration module
2011-04-10 22:10:33 -07:00
Adrian Sampson
6884fc230f
don't use __slots__
...
Apparently, that's *just* for footprint optimization. Not to be used for
constraining the attribute set:
http://stackoverflow.com/questions/472000/python-slots
2011-04-10 21:57:04 -07:00
Adrian Sampson
e669868896
move a bunch of functions to util
2011-04-10 21:48:05 -07:00
Peter B
9df548c738
updated embedcoverart plugin for album_imported change
2011-04-11 00:23:54 -04:00
Adrian Sampson
2746f1ff3f
move pipeline into new beets.util package
...
--HG--
rename : beets/ui/pipeline.py => beets/util/pipeline.py
2011-04-10 21:19:07 -07:00