fetchart: revert a cleanup from 4774 that could break plugins

cf. @arogl's comment 254bb297c8 (commitcomment-111922347)

> Now that this has been merged, external plugins that add to the fetchart plugin now fail with:
>
> ```AttributeError: module 'beetsplug.fetchart' has no attribute 'SOURCES_ALL'``
This commit is contained in:
wisp3rwind 2023-05-05 20:34:57 +02:00
parent cad9c42c5a
commit f5b20114b4

View file

@ -977,6 +977,12 @@ class Spotify(RemoteArtSource):
return
# Try each source in turn.
# Note that SOURCES_ALL is redundant (and presently unused). However, we keep
# it around nn order not break plugins that "register" (a.k.a. monkey-patch)
# their own fetchart sources.
SOURCES_ALL = ['filesystem', 'coverart', 'itunes', 'amazon', 'albumart',
'wikipedia', 'google', 'fanarttv', 'lastfm', 'spotify']
ART_SOURCES = {
'filesystem': FileSystem,
'coverart': CoverArtArchive,