From e9bc47a66528283bb1063b6f8241ca1418851a6b Mon Sep 17 00:00:00 2001 From: Chris Cogburn Date: Tue, 5 Nov 2013 21:29:49 -0600 Subject: [PATCH] Fix for id3v23 to include config parameter to save --- beetsplug/scrub.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/beetsplug/scrub.py b/beetsplug/scrub.py index c17ac99fb..294d018ac 100644 --- a/beetsplug/scrub.py +++ b/beetsplug/scrub.py @@ -81,7 +81,7 @@ class ScrubPlugin(BeetsPlugin): print('restoring art') mf = mediafile.MediaFile(item.path) mf.art = art - mf.save() + mf.save(config['id3v23'].get(bool)) scrubbing = False @@ -127,7 +127,7 @@ def _scrub(path): # remove them. In this case, we just remove all the tags. for tag in f.keys(): del f[tag] - f.save() + f.save(config['id3v23'].get(bool)) except IOError as exc: log.error(u'could not scrub {0}: {1}'.format( util.displayable_path(path),