Skip to content

nightly-61ae14e0-ls29

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 28 Nov 00:14
· 1 commit to nightly since this release

CI

Test report · Build status

LinuxServer changes

Full Changelog: nightly-dd681dd7-ls28...nightly-61ae14e0-ls29

Upstream changes

Source: beetbox/beets@61ae14e

Refactor/importer update readability (#7212)

Description

In beets/importer/tasks.py, the "delete the file if it's in the
library, then
prune empty directories" block was repeated six times across the album
and
singleton duplicate-removal methods (remove_duplicates and
_remove_upgrade_duplicates). This replaces those copies with a single
_delete_library_file() helper.

No behaviour change.

To Do

  • Documentation (no user-facing change)
  • Changelog (internal refactor)
  • Tests (covered by existing tests)