diff --git a/beetsplug/scrub.py b/beetsplug/scrub.py index ca37538f6..0b0c69e2f 100644 --- a/beetsplug/scrub.py +++ b/beetsplug/scrub.py @@ -138,7 +138,7 @@ def _scrub(path): # Automatically embed art into imported albums. @ScrubPlugin.listen('write') -def write_item(item): +def write_item(path): if not scrubbing and config['scrub']['auto']: - log.debug(u'auto-scrubbing %s' % util.displayable_path(item.path)) - _scrub(item.path) + log.debug(u'auto-scrubbing %s' % util.displayable_path(path)) + _scrub(path) diff --git a/docs/changelog.rst b/docs/changelog.rst index dab6e501c..2d019d777 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -41,6 +41,9 @@ Little improvements and fixes: This fixes :ref:`write` showing changes for fields that are not written to the file. * :ref:`write`: Don't display the item name if there are no changes for it. +* When using both :doc:`/plugins/convert` and :doc:`/plugins/scrub`, avoid + scrubbing the source file of conversions. (Fix a regression introduced in + the previous release.) 1.3.6 (May 10, 2014)