mirror of
https://github.com/beetbox/beets.git
synced 2025-12-20 15:43:58 +01:00
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:
parent
cad9c42c5a
commit
f5b20114b4
1 changed files with 6 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue