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
Adrian Sampson
3222cc6213
move main importer driver logic to importer module
2011-04-10 19:15:24 -07:00
Adrian Sampson
dffdbce5f1
sanitize CLI-specific code from importer module
2011-04-10 19:10:22 -07:00
Adrian Sampson
c0467c3724
encapsulate importer configuration in an object
2011-04-10 18:56:42 -07:00
Adrian Sampson
23392525ec
The Great Importer Refactoring
...
I'm shuffling around the feature-creeping importer code to keep it as
interface-agnostic as possible. The "importer" module now takes care of the
basic, increasingly complicated workflow while the ui.commands module is
relegated to containing actual user-interface stuff.
2011-04-10 18:12:47 -07:00
Adrian Sampson
aa76be367a
invert sense of "if" for readability
2011-04-10 17:43:03 -07:00
Adrian Sampson
6ec349b384
move some logic into ImportTask with should_ methods
2011-04-10 17:40:28 -07:00
Peter B
e67bdd5fa6
added lib parameter to the album_imported event
2011-04-10 20:25:01 -04:00
Adrian Sampson
2aa9a17fb3
rename albumart_data to albumart; fix indentation
2011-04-10 12:11:22 -07:00
Adrian Sampson
5c480ccd24
customizable id3_frame_field to support album art and UFID
2011-04-10 12:09:25 -07:00
Adrian Sampson
bc84ba8f36
NEWS note and typo fixes
2011-04-10 11:55:13 -07:00
Adrian Sampson
b4b3fd308a
merge in embedded album art changes from daenney
2011-04-10 11:52:08 -07:00
Adrian Sampson
11c5b15c8d
fix copying destination for full-album imports
2011-04-10 10:57:13 -07:00
Daniele Sluijters
b67e24fa81
Specify the type of covr.
2011-04-10 16:26:39 +02:00
Daniele Sluijters
00c5a275a4
*facepalm* and fix some Engrish.
2011-04-10 16:12:21 +02:00
Daniele Sluijters
1859375593
Only try to add albumart if the MIME-type is correct, log if it's not.
2011-04-10 14:54:32 +02:00