mirror of
https://github.com/beetbox/beets.git
synced 2025-12-16 05:34:47 +01:00
Main variables init in _get_genre()
This commit is contained in:
parent
1b05a1295d
commit
f695d463e2
1 changed files with 3 additions and 1 deletions
|
|
@ -338,8 +338,10 @@ class LastGenrePlugin(plugins.BeetsPlugin):
|
|||
indicates that existing genres were combined with new last.fm genres,
|
||||
while "artist" means only new last.fm genres are included.
|
||||
"""
|
||||
|
||||
keep_genres = []
|
||||
label = ""
|
||||
genres = self._get_existing_genres(obj)
|
||||
|
||||
if genres and not self.config["force"]:
|
||||
# Without force pre-populated tags are returned as-is.
|
||||
if isinstance(obj, library.Item):
|
||||
|
|
|
|||
Loading…
Reference in a new issue