From 8ffe83b99e597caafc9e24bc089ee068323f1c69 Mon Sep 17 00:00:00 2001 From: Adrian Sampson Date: Sun, 9 Feb 2014 16:10:53 -0800 Subject: [PATCH] fetchart: fix #533, remote_priority ignoring local --- beetsplug/fetchart.py | 5 +++-- docs/changelog.rst | 2 ++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/beetsplug/fetchart.py b/beetsplug/fetchart.py index f1f20545b..cc38b4c29 100644 --- a/beetsplug/fetchart.py +++ b/beetsplug/fetchart.py @@ -193,8 +193,9 @@ def art_for_album(album, paths, maxwidth=None, local_only=False): for url in _source_urls(album): if maxwidth: url = ArtResizer.shared.proxy_url(maxwidth, url) - out = _fetch_image(url) - if out: + candidate = _fetch_image(url) + if candidate: + out = candidate break if maxwidth and out: diff --git a/docs/changelog.rst b/docs/changelog.rst index 2e77f01f6..a23232d76 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -77,6 +77,8 @@ Other little fixes: no changes are necessary. Thanks to brilnius. * The replacement characters for path separators can be set in the "replace" configuration. +* :doc:`/plugins/fetchart`: When using the ``remote_priority`` config option, + local image files are no longer completely ignored. 1.3.2 (December 22, 2013)