mirror of
https://github.com/beetbox/beets.git
synced 2026-01-02 14:03:12 +01:00
Test config opt import/write before embedding art (fixes #1427)
This commit is contained in:
parent
841f646fd7
commit
c9380abc3b
1 changed files with 1 additions and 1 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Reference in a new issue