Commit graph

6487 commits

Author SHA1 Message Date
Adrian Sampson
c2fd535047 &/and equivalent in string distance 2011-04-19 23:21:18 -07:00
Adrian Sampson
77187baa8b NEWS and doc updates 2011-04-19 23:01:59 -07:00
Adrian Sampson
a9165518ac progress/resume for item imports
In this implementation, progress is only saved at the directory granularity,
just like with album imports. This is the only easy way to make the progress
stuff interoperable between the two styles of import. With duplicate detection
in place, this is not such a big deal.
2011-04-19 17:21:11 -07:00
Adrian Sampson
7e89282053 duplicate detection for items 2011-04-19 16:40:40 -07:00
Adrian Sampson
b80b0b4095 logging for singleton imports 2011-04-19 16:26: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
a75a524178 NEWS note about timid mode 2011-04-19 13:28:45 -07:00
Adrian Sampson
182bd96a38 include artist when matching track by ID 2011-04-19 13:26:51 -07:00
Adrian Sampson
9222b98706 fix misspelling when matching track by ID 2011-04-19 13:25:06 -07:00
Adrian Sampson
df6b1abfd8 clean up vestiges of TRACKS choice for album tasks 2011-04-19 13:21:27 -07:00
Adrian Sampson
db6eb60e23 update tests for timid mode 2011-04-19 13:13:16 -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
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