Commit graph

90 commits

Author SHA1 Message Date
Adrian Sampson
1f67dcd673 fix manual search for singletons 2011-04-28 22:20:40 -07:00
Adrian Sampson
6c1edc792c print "(unknown album)" when no tags are present 2011-04-19 23:30:35 -07:00
Adrian Sampson
3dbce11a25 raise error when -q and -t are supplied together 2011-04-19 13:56:45 -07:00
Adrian Sampson
704a76ba2c rename interactive_autotag to timid 2011-04-19 13:03:14 -07:00
mdecker
2ca26d3d20 bugfix for 251a90e6
now user is not only asked for a manual choice but is also able to choose another album ;)
2011-04-19 14:58:39 +02:00
mdecker
251a90e64d added -i switch to import command to disable fully automatic tagging of highly similar albums
the user will instead be prompted to confirm or change the match
2011-04-18 22:44:35 +02:00
mdecker
53e3ae7c58 fix manual album search that has been broken somewhere around c0467c37 2011-04-18 16:20:32 +02: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
d1b7c8dc55 display track changes; some scaffolding for user query 2011-04-14 09:07:06 -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
a675988eb2 add and use fancy enumeration module 2011-04-10 22:10:33 -07:00
Adrian Sampson
e669868896 move a bunch of functions to util 2011-04-10 21:48:05 -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
Adrian Sampson
11c5b15c8d fix copying destination for full-album imports 2011-04-10 10:57:13 -07:00
Adrian Sampson
e478ae740d refactor importer to use a ImportTask class instead of a tuple 2011-04-09 19:53:52 -07:00
Adrian Sampson
f0adb4efd7 refactor tagger UI simplify choose_match function 2011-04-09 17:25:01 -07:00
Adrian Sampson
7f1e4c2407 "as Tracks" option during import to add singletons 2011-04-09 15:20:15 -07:00
Adrian Sampson
633e878ee8 distance -> similarity (#114) 2011-04-09 14:07:14 -07:00
Adrian Sampson
565257988a docs/whitespace and change register_listener to a class method 2011-04-09 13:15:19 -07:00
Peter B
f0cc11e8ff added 'album_imported' event. 2011-04-09 00:04:24 -04:00
Adrian Sampson
4ce8d3b249 duplicate detection is (belatedly) album-based instead of track-based 2011-04-03 16:12:09 -07:00
mdecker
cd18d7aca4 fix double deletion problem of source files when import_delete is set 2011-04-03 18:43:41 +02:00
Adrian Sampson
4193d5411c bump up the pipeline queue size 2011-04-02 20:50:27 -07:00
Adrian Sampson
1a87483877 hide artist in difference display for VA matches 2011-04-02 20:42:07 -07:00
Adrian Sampson
effc338957 "info" command for dumping file metadata 2011-04-02 19:59:22 -07:00
Adrian Sampson
6b49bb11ae show plugins in "version" output (#153) 2011-04-01 20:42:24 -07:00
Adrian Sampson
cd8ca9f473 make -p/-P and import_resume config option symmetric
The import_resume option (nee import_progress) now exactly reflects the behavior
of -p and -P on the command line, which I think is way less confusing. That
option now has three settings: yes, no, and "ask" (the default). The "ask"
behavior cannot be specified on the command line, but I think that's OK. It's
also important to note that "no" means that progress is disabled entirely
(including saving progress for later resumes). The -q flag still overrides the
config option.
2011-03-30 20:05:42 -07:00
Adrian Sampson
436f635b55 import_quiet_fallback option to customize in quiet mode (#149) 2011-03-29 21:27:03 -07:00
Adrian Sampson
9ae27b0a05 fix ordering of CLI switches 2011-03-29 20:08:42 -07:00
Adrian Sampson
5b13094789 -p and -P flags to force resume or skip resume 2011-03-29 20:02:47 -07:00
Adrian Sampson
098640ee12 quiet import mode disables resuming by default (#150) 2011-03-29 19:38:16 -07:00
Adrian Sampson
aa29f62533 import_progress config option to disable resuming 2011-03-29 19:31:14 -07:00
Adrian Sampson
ecf2da1b6f always show album directory in tagger output 2011-03-23 14:06:14 -07:00
Adrian Sampson
7baf41827d log duplicate albums during import (#141) 2011-03-22 20:21:48 -07:00
Adrian Sampson
d59c66af6a turn on infer_aa in appropriate situations 2011-02-18 12:42:41 -08:00
Adrian Sampson
993519c004 split import tests, suppress progress checks for testing 2011-02-18 12:38:46 -08:00
Adrian Sampson
56964c7faa documentation and NEWS note about deletion fix (#134) 2011-02-18 11:25:57 -08:00
Ozzi Lee
c15c3ee9ec Log album.albumartist instead of album.artist after import. 2011-02-02 13:08:51 -06:00
Ozzi Lee
6baf9f5351 Fixed a bug where tracks could be deleted on re-import.
Tracks could be deleted when re-importing tracks that are already in
the library directory and import_delete is set to yes.
2011-02-02 13:08:18 -06:00