quiet import mode disables resuming by default (#150)

This commit is contained in:
Adrian Sampson 2011-03-29 19:38:16 -07:00
parent aa29f62533
commit 098640ee12
3 changed files with 3 additions and 2 deletions

2
NEWS
View file

@ -26,6 +26,8 @@
* "import -l" now logs duplicate albums.
* A new "import_progress" option can be used to disable the importer's
resuming feature.
* Resuming is automatically disabled when the importer is in quiet (-q)
mode. Progress is still saved, however.
* Fix a bug where some files would be erroneously interpreted as MP4.
* Fix permission bits applied to album art files.
* Fix malformed MusicBrainz queries caused by null characters.

View file

@ -262,7 +262,6 @@ class SubcommandsOptionParser(optparse.OptionParser):
"""A variant of OptionParser that parses subcommands and their
arguments.
"""
# A singleton command used to give help on other subcommands.
_HelpSubcommand = Subcommand('help', optparse.OptionParser(),
help='give detailed help on a specific sub-command',

View file

@ -565,7 +565,7 @@ def import_files(lib, paths, copy, write, autot, logpath,
if autot:
# Autotag. Set up the pipeline.
pl = pipeline.Pipeline([
read_albums(paths, progress),
read_albums(paths, progress and not quiet),
initial_lookup(),
user_query(lib, logfile, color, quiet),
apply_choices(lib, copy, write, art, delete, progress),