fetchart: Do not emable Wikipedia by default

Because DBpedia seems to be down (it's responding very slowly with errors),
this seems like a good defensive action. It narrows the default sources to
those that resolve quickly, with only a couple of HTTP requests. We can
re-enable this again in the future if things seem to stabilize over at
DBpedia.
This commit is contained in:
Adrian Sampson 2015-08-29 12:52:57 -07:00
parent e249fcb06f
commit 9ce49b7ef0
3 changed files with 8 additions and 6 deletions

View file

@ -403,8 +403,7 @@ class FetchArtPlugin(plugins.BeetsPlugin, RequestMixin):
'remote_priority': False,
'cautious': False,
'cover_names': ['cover', 'front', 'art', 'album', 'folder'],
'sources': ['coverart', 'itunes', 'amazon', 'albumart',
'wikipedia'],
'sources': ['coverart', 'itunes', 'amazon', 'albumart'],
})
# Holds paths to downloaded images between fetching them and

View file

@ -21,8 +21,10 @@ Fixes:
art, for example with the ``clearart`` command from the
:doc:`/plugins/embedart`. Thanks to :user:`nathdwek`. :bug:`1565`
* :doc:`/plugins/fetchart`: The Google Images source is disabled by default
(as it was before beets 1.3.9). To enable it, add ``google`` to your
``sources`` configuration option.
(as it was before beets 1.3.9), as is the Wikipedia source (which was
causing lots of unnecessary delays due to DBpedia downtime). To re-enable
these sources, add ``wikipedia google`` to your ``sources`` configuration
option.
1.3.14 (August 2, 2015)

View file

@ -49,8 +49,9 @@ file. The available options are:
found in the filesystem.
- **sources**: List of sources to search for images. An asterisk `*` expands
to all available sources.
Default: ``coverart itunes albumart amazon wikipedia``, i.e., everything but
``google``.
Default: ``coverart itunes amazon albumart``, i.e., everything but
``wikipedia`` and ``google``. Enable those two sources for more matches at
the cost of some speed.
Note: ``minwidth`` and ``enforce_ratio`` options require either `ImageMagick`_
or `PIL`_.