Skip to content

Commit

Permalink
Merge pull request #1435 from reynhout/fix_1427_embedart_write_config…
Browse files Browse the repository at this point in the history
…_reynhout

Fix #1427: embedart plugin should observe write config
  • Loading branch information
sampsyo committed Apr 23, 2015
2 parents 841f646 + bd12cd5 commit 19542df
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion beetsplug/embedart.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def clear_func(lib, opts, args):
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),
Expand Down
6 changes: 5 additions & 1 deletion docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 19542df

Please sign in to comment.