mirror of
https://github.com/beetbox/beets.git
synced 2026-01-03 06:22:48 +01:00
Prevent album genre inherit only when source:track
is configured.
This commit is contained in:
parent
9ec2a8146f
commit
18e76f08c7
1 changed files with 4 additions and 1 deletions
|
|
@ -411,7 +411,10 @@ class LastGenrePlugin(plugins.BeetsPlugin):
|
|||
self._log.info(
|
||||
"genre for album {0} ({1}): {0.genre}", album, src
|
||||
)
|
||||
album.store(inherit=False)
|
||||
if "track" in self.sources:
|
||||
album.store(inherit=False)
|
||||
else:
|
||||
album.store()
|
||||
|
||||
for item in album.items():
|
||||
# If we're using track-level sources, also look up each
|
||||
|
|
|
|||
Loading…
Reference in a new issue