Repository navigation
nightly-5fbf0c03-ls9
Pre-releaseCI
LinuxServer changes
Full Changelog: nightly-e170aeee-ls8...nightly-5fbf0c03-ls9
Upstream changes
Source: beetbox/beets@5fbf0c0
Fix lastgenre output during import (#7107)
Description
Fixes #6830.
During an import, the lastgenre plugin prints the fetched genres to
the terminal. This output can appear on top of the importer's prompt for
the next album, making the import look frozen.
This PR fixes the issue by preventing the imported hook from printing
genre changes during an import. The genres are still fetched and saved,
and beet lastgenre continues to display changes as before.
I investigated the code to identify the likely cause. I added a
regression test to verify that the import stage does not print anything
and that the genres are still assigned correctly. I also tested the
change on Windows and confirmed that the new test fails with the
original code and passes with the fix.
If someone can reproduce the original issue, I would appreciate
confirmation that this fix resolves it.
AI usage
I used Claude to help me with this contribution. I ran the tests and
linter myself .