Skip to content

Commit

Permalink
Fix #1903: scrub sometimes ignored id3v23
Browse files Browse the repository at this point in the history
  • Loading branch information
sampsyo committed Mar 16, 2016
1 parent c18b5db commit 8a0b18c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion beetsplug/scrub.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,8 @@ def _scrub_item(self, item, restore=True):
item.try_write()
if art:
self._log.debug(u'restoring art')
mf = mediafile.MediaFile(util.syspath(item.path))
mf = mediafile.MediaFile(util.syspath(item.path),
config['id3v23'].get(bool))
mf.art = art
mf.save()

Expand Down
2 changes: 2 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ Fixes:
* Fix a crash when iTunes Sound Check tags contained invalid data. :bug:`1895`
* :doc:`/plugins/mbcollection`: The plugin now redacts your MusicBrainz
password in the ``beet config`` output. :bug:`1907`
* :doc:`/plugins/scrub`: Fix an occasional problem where scrubbing on import
could undo the ``id3v23`` setting. :bug:`1903`


1.3.17 (February 7, 2016)
Expand Down

0 comments on commit 8a0b18c

Please sign in to comment.