Changed from os.rename() to shutil.copy2() when creating backups. This prevents the "No such file or directory" error that occurred when trying to write the resampled file after the original was renamed. Now the script: - Copies original to .backup (instead of renaming) - Reads from .backup file - Writes resampled audio to original filename 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
5.0 KiB
5.0 KiB