beets-extrafiles icon indicating copy to clipboard operation
beets-extrafiles copied to clipboard

Suggestion: overwrite existing files when album is replaced

Open kassisaf opened this issue 5 years ago • 2 comments

extrafiles currently skips files if they are already present in the destination. This is problematic when replacing albums on import, as you may end up with extra files that are only relevant to the release that has been replaced. Example:

  • Album exists in library
  • Import a different release of the same album, or the same release in a different format
  • Beets prompts to skip, remove old, keep both, etc. Choose remove
  • Old release/format is deleted, new release/format is copied, extrafiles skips the copy because they are already present for the old release
  • Extra files now correspond to the release that was removed, while the extra files associated with the release you actually have are left behind.

kassisaf avatar May 03 '19 08:05 kassisaf

Note that this only occurs if the filenames match. If they do not match, you end up with multiple copies of extra files. If possible, a better solution may be to remove previously-copied extra files before copying new ones when an album is replaced.

kassisaf avatar May 03 '19 08:05 kassisaf

+1 this can be useful for reimport album, but should be opt-out by default i think.

jee-r avatar May 03 '19 21:05 jee-r