Merge pull request #1435 from reynhout/fix_1427_embedart_write_config_reynhout

Fix #1427: embedart plugin should observe write config
This commit is contained in:
Adrian Sampson 2015-04-23 15:10:37 -07:00
commit 19542df187
2 changed files with 6 additions and 2 deletions

View file

@ -126,7 +126,7 @@ class EmbedCoverArtPlugin(BeetsPlugin):
def process_album(self, album):
"""Automatically embed art after art has been set
"""
if self.config['auto']:
if self.config['auto'] and config['import']['write']:
max_width = self.config['maxwidth'].get(int)
art.embed_album(self._log, album, max_width, True,
self.config['compare_threshold'].get(int),

View file

@ -4,7 +4,11 @@ Changelog
1.3.13 (in development)
-----------------------
Changelog goes here!
Fixes:
* Importing with ``embedart`` plugin enabled now checks config option
``write`` under ``import`` to determine whether to write tags and
art to music files. :bug:`1427`
1.3.12 (April 18, 2015)