Skip to content

feat: Added config switches to disable file renaming and Sample/Proof filtering - #425

Merged
javi11 merged 6 commits into
kipsilabs:mainfrom
piefke84:feature/add-switches-rename-and-sample
Mar 22, 2026
Merged

feat: Added config switches to disable file renaming and Sample/Proof filtering#425
javi11 merged 6 commits into
kipsilabs:mainfrom
piefke84:feature/add-switches-rename-and-sample

Conversation

@piefke84

@piefke84 piefke84 commented Mar 20, 2026

Copy link
Copy Markdown
Contributor

This PR adds two config switches to the UI and config file.

  1. By default, Altmount renames single file NZBs to the NZB name, which causes issues for some use cases. The switch "Allow file renaming during NZB import" (allow_file_renaming) allows disabling this functionality. Files will then be imported as present in the NZB/nested RAR archives.

Example: The NZB for Need.for.Speed.Undercover.CLONEDVD.WORKiNG.NFOFiX-0x0008 contains a single file "0x0008.nfo". Currently that file is imported but renamed to the NZB name (e.g. "Need.for.Speed.Undercover.CLONEDVD.WORKiNG.NFOFiX-0x0008.nfo"). This switch allows to keep the original file name.

  1. By default, Altmount filters files matching a pattern for "proof" and "sample" and skips the import. The switch "Filter Sample and Proof" (filter_sample_and_proof) allows disabling this functionality. Samples and Proofs will be imported alongside any other files.

Defaults are set to "true" for both switches, keeping the current behaviour.

@javi11
javi11 merged commit 93f6a90 into kipsilabs:main Mar 22, 2026
yoshitaka420 pushed a commit to yoshitaka420/altmount that referenced this pull request Jun 1, 2026
… filtering (kipsilabs#425)

Co-authored-by: Javier <javicuba11@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants