diff --git a/beets/importer.py b/beets/importer.py index 0695fc46b..2900e192b 100644 --- a/beets/importer.py +++ b/beets/importer.py @@ -26,7 +26,7 @@ from beets import library import beets.autotag.art from beets import plugins from beets.util import pipeline -from beets.util import syspath, normpath, plurality +from beets.util import syspath, normpath, plurality, displayable_path from beets.util.enumeration import enum action = enum( @@ -610,7 +610,8 @@ def apply_choices(config): dup_items = lib.items(library.MatchQuery('path', item.path)) for dup_item in dup_items: replaced_items[item].append(dup_item) - log.debug('replacing item %i: %s' % (dup_item.id, item.path)) + log.debug('replacing item %i: %s' % + (dup_item.id, displayable_path(item.path))) log.debug('%i of %i items replaced' % (len(replaced_items), len(items))) @@ -754,7 +755,7 @@ def item_progress(config): if task.sentinel: continue - log.info(task.item.path) + log.info(displayable_path(task.item.path)) task.set_null_item_match() task.set_choice(action.ASIS) diff --git a/beets/ui/commands.py b/beets/ui/commands.py index fdbd5a377..778ca37b0 100644 --- a/beets/ui/commands.py +++ b/beets/ui/commands.py @@ -727,7 +727,7 @@ def update_items(lib, query, album, move, color, pretend): # Did the item change since last checked? if item.current_mtime() <= item.mtime: log.debug(u'skipping %s because mtime is up to date (%i)' % - (item.path, item.mtime)) + (displayable_path(item.path), item.mtime)) continue # Read new data.