Prevent album genre inherit only when source:track

is configured.
This commit is contained in:
J0J0 Todos 2023-11-04 00:53:52 +01:00
parent bd0c02437a
commit e1fe6fd3d0

View file

@ -527,7 +527,10 @@ class LastGenrePlugin(plugins.BeetsPlugin):
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