fetchart: fix #533, remote_priority ignoring local

This commit is contained in:
Adrian Sampson 2014-02-09 16:10:53 -08:00
parent 8556de8d3a
commit 8ffe83b99e
2 changed files with 5 additions and 2 deletions

View file

@ -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:

View file

@ -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)