From 4169da3dd13ab8d49efdce76826757a9f3377b1a Mon Sep 17 00:00:00 2001 From: Adrian Sampson Date: Sat, 17 Jan 2015 19:05:00 -0800 Subject: [PATCH] Fix "skipped N directories" message --- beets/importer.py | 3 ++- docs/changelog.rst | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/beets/importer.py b/beets/importer.py index 8781995f4..dbe336804 100644 --- a/beets/importer.py +++ b/beets/importer.py @@ -1103,6 +1103,7 @@ def read_tasks(session): for t in task_factory.tasks(): imported |= not t.skip yield t + skipped += task_factory.skipped # Indicate the directory is finished. # FIXME hack to delete extracted archives @@ -1117,7 +1118,7 @@ def read_tasks(session): # Show skipped directories. if skipped: - log.info(u'Skipped {0} directories.', skipped) + log.info(u'Skipped {0} paths.', skipped) def query_tasks(session): diff --git a/docs/changelog.rst b/docs/changelog.rst index d33c4444c..ca47e0320 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -27,6 +27,7 @@ Fixes: * Remove the ``beatport`` plugin. `Beatport`_ has shut off public access to their API and denied our request for an account. We have not heard from the company since 2013, so we are assuming access will not be restored. +* Incremental imports now (once again) show a "skipped N directories" message. For developers: The logging system in beets has been overhauled. Plugins now each have their own logger, which helps by automatically adjusting the