Commit graph

182 commits

Author SHA1 Message Date
Simon Chopin
7aaab602c0 ui.commands: Warn the user when the candidates are partial matches 2011-11-24 16:03:56 +01:00
Simon Chopin
9a7a551d92 Enable import of incomplete albums
This commit disables the autoreject for incomplete albums. There is
several one-liner fixes in autotag/__init__.py and importer.py, as well
as some UI additions to report to the user when a track seems missing.
2011-11-22 13:47:36 +01:00
Adrian Sampson
78dca315d4 slightly clean up mtime feature; changelog mention 2011-11-22 00:11:45 -08:00
Jos van der Til
f150d76b55 Handled the case where file_mtime was changed, but no metadata was changed
--HG--
extra : transplant_source : %D0%DB%B1r%1D%CAh%23%3D%0C%E0%90%21%CA%7B%97%CE%F0u%19
2011-11-21 20:41:43 +01:00
Jos van der Til
2c81ee736c Implemented file modified time tracking to beets.
Only files which were modified after beets checked them will be checked again.
Implements feature request #227

--HG--
extra : transplant_source : K%F1d%C5%B1%1F%CA%AB%95ck%8C%AC%25m%F0%26%E4%9DB
2011-11-21 19:51:16 +01:00
Adrian Sampson
55d7869adc remove subscripting of info objects in candidate menu (fixes #253) 2011-11-19 17:59:47 -08:00
Adrian Sampson
5965b37f51 skip (configurable) clutter filenames when importing 2011-11-13 17:14:40 -08:00
Adrian Sampson
7e627c5e57 decode pathnames before formatting them (#232) 2011-11-13 10:10:19 -08:00
Adrian Sampson
4f2fe61ddc make some unicode types explicit (for #232) 2011-11-12 16:45:56 -08:00
Adrian Sampson
95f38dbe52 "info dictionaries" replaced with AlbumInfo and TrackInfo 2011-10-23 14:12:13 -07:00
Adrian Sampson
948f7effd2 fix logging of unicode pathnames
(reported by HMS on IRC today)
2011-11-28 16:06:33 -08:00
Adrian Sampson
ec49fca4dc smarter MBID input (based on patch by derwin) 2011-10-07 15:33:19 -07:00
Adrian Sampson
4b5c674d9b "--pretend" (dry run) flag for update 2011-09-18 16:18:19 -07:00
Adrian Sampson
748457193b fix colorized diff of non-string values (#236) 2011-09-18 12:36:52 -07:00
Adrian Sampson
e0f66d6f18 epsilon tolerance in float equality for showdiff 2011-09-18 12:29:07 -07:00
Adrian Sampson
42e0b6c950 special-case albumartist update to avoid undoing inference for as-is imports 2011-09-18 12:22:20 -07:00
Adrian Sampson
9933b5e4df difference display was showing the same value twice (#236) 2011-09-18 12:10:10 -07:00
Adrian Sampson
e8b8cb179f refactor: move() is a method on Library (not Item) 2011-09-15 16:15:53 -07:00
Adrian Sampson
e2b7a7514d fix visual diff for non-string values (#235) 2011-09-15 14:45:31 -07:00
Adrian Sampson
607757edf1 -i/import_incremental to only import new directories (#99) 2011-08-09 12:09:36 -07:00
Adrian Sampson
45eeea343e destination option for "beet move" (also tests) 2011-08-05 12:19:34 -07:00
Adrian Sampson
99b7cb8854 initial iteration of "move" command (#106) 2011-08-05 11:52:13 -07:00
Adrian Sampson
3efeb9a133 -L flag to import lets you re-import items matching query (#69) 2011-08-04 15:29:59 -07:00
Adrian Sampson
e84c3e7abd consolidate update command, removing album-munging logic 2011-08-02 23:37:55 -07:00
Adrian Sampson
fdf697dc90 merge in wlof's "update" command 2011-08-02 20:43:21 -07:00
Adrian Sampson
e24ebbae00 add --yes (-y) option for skipping modify confirmation 2011-08-02 14:10:03 -07:00
Adrian Sampson
a367b2764d first attempt at command-line modification command (#56) 2011-08-02 13:59:33 -07:00
wlof
2495227724 Detect deleted files
Display detected modifications
2011-08-02 21:20:23 +02:00
wlof
fca60c510e update feature (issue 107) 2011-08-01 04:59:20 +02:00
Adrian Sampson
fed8782ca1 fix Unicode queries from CLI arguments 2011-07-01 15:43:06 -07:00
Adrian Sampson
2bc3892384 show filename when title is empty (#213) 2011-06-29 08:35:56 -07:00
Adrian Sampson
fcc2744ac5 use separate shell arguments for queries to preserve whitespace 2011-06-26 00:12:45 -07:00
Adrian Sampson
453162d268 label and year shown in candidate list (#197) 2011-06-25 13:54:02 -07:00
Adrian Sampson
a074db78e1 manual specification of MBIDs 2011-05-22 21:18:01 -07:00
Adrian Sampson
da6ee13159 fix singleton quiet imports 2011-05-21 16:53:01 -07:00
Adrian Sampson
09bf1179c1 help text typo 2011-05-21 16:26:29 -07:00
Adrian Sampson
39dac9a28d "beet ls -p" outputs paths 2011-05-21 12:40:36 -07:00
Adrian Sampson
3b23198324 singleton imports can take single-file arguments (#184) 2011-05-06 12:27:03 -07:00
Adrian Sampson
8341dee3ab reorder items() and albums() parameters to reflect common use 2011-05-05 17:20:24 -07:00
Adrian Sampson
1a86efc39f timestamps and appending for import log (#155) 2011-05-03 12:34:31 -07:00
Adrian Sampson
2dbfbc8923 import_log config parameter 2011-05-03 12:23:43 -07:00
Adrian Sampson
eeb021367f colorize "options" prompts (#147) 2011-05-03 10:14:42 -07:00
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
Adrian Sampson
0c24376e6a migration of album table's artist field to albumartist; fix ls -a 2011-01-23 22:49:52 -08:00
Adrian Sampson
342c360285 apply jonathan.buchanan's compilation patch from issue #48 2011-01-23 18:41:35 -08:00
Adrian Sampson
bff9f2e808 "beet version" command 2011-01-20 09:23:39 -08:00
Adrian Sampson
93594bac5a convert import paths to absolute; more _syspath calls
Again, patch mainly due to jonathan.buchanan.
2011-01-20 00:13:00 -08:00
Adrian Sampson
ca0d1bc7aa fix unicode issue with manual search prompt (#113) 2011-01-18 19:09:04 -08:00
Adrian Sampson
0f79c0f49e fix a silly UnboundLocalError (#116) 2011-01-18 18:22:47 -08:00
Adrian Sampson
8f5ce886ab non-autotagged imports now resumable 2011-01-02 22:22:40 -08:00
Adrian Sampson
d860dd12c3 implement quiet importing 2011-01-01 13:22:20 -08:00