mirror of
https://github.com/beetbox/beets.git
synced 2025-12-08 09:34:23 +01:00
fetchart: Clarify the deprecation of remote_priority in docs and
warning, closes #2092
This commit is contained in:
parent
10a47e98d0
commit
e2c6547635
2 changed files with 10 additions and 1 deletions
|
|
@ -762,7 +762,8 @@ class FetchArtPlugin(plugins.BeetsPlugin, RequestMixin):
|
||||||
if 'remote_priority' in self.config:
|
if 'remote_priority' in self.config:
|
||||||
self._log.warning(
|
self._log.warning(
|
||||||
u'The `fetch_art.remote_priority` configuration option has '
|
u'The `fetch_art.remote_priority` configuration option has '
|
||||||
u'been deprecated, see the documentation.')
|
u'been deprecated. Instead, place `filesystem` at the end of '
|
||||||
|
u'your `sources` list.')
|
||||||
if self.config['remote_priority'].get(bool):
|
if self.config['remote_priority'].get(bool):
|
||||||
try:
|
try:
|
||||||
sources_name.remove(u'filesystem')
|
sources_name.remove(u'filesystem')
|
||||||
|
|
|
||||||
|
|
@ -69,6 +69,14 @@ file. The available options are:
|
||||||
Note: ``minwidth`` and ``enforce_ratio`` options require either `ImageMagick`_
|
Note: ``minwidth`` and ``enforce_ratio`` options require either `ImageMagick`_
|
||||||
or `Pillow`_.
|
or `Pillow`_.
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
|
||||||
|
Previously, there was a `remote_priority` option to specify when to
|
||||||
|
look for art on the filesystem. This is
|
||||||
|
still respected, but a deprecation message will be shown until you
|
||||||
|
replace this configuration with the new `filesystem` value in the
|
||||||
|
`sources` array.
|
||||||
|
|
||||||
.. _beets custom search engine: https://cse.google.com.au:443/cse/publicurl?cx=001442825323518660753:hrh5ch1gjzm
|
.. _beets custom search engine: https://cse.google.com.au:443/cse/publicurl?cx=001442825323518660753:hrh5ch1gjzm
|
||||||
.. _Pillow: https://github.com/python-pillow/Pillow
|
.. _Pillow: https://github.com/python-pillow/Pillow
|
||||||
.. _ImageMagick: http://www.imagemagick.org/
|
.. _ImageMagick: http://www.imagemagick.org/
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue