Add ARR submitted name folder naming option#264
Open
kw6423 wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📌 Description
dnvalue or uploaded torrent/NZB filename, instead of using a shorter debrid/provider title.Example of the issue this fixes:
Sonarr selected/scored the full release title:
Real-Debrid later exposed a shorter/different torrent name:
With
ARR submitted name, Decypharr creates the folder using the title ARR originally submitted:That lets Sonarr import the same release successfully instead of rejecting it based on the shortened folder name:
Target Branch Check (IMPORTANT)
Expected target:
Changes Made
folder_naming: "arr_submitted_name"and the ARR submitted name settings option.dn) when available..torrentuploads. Sonarr/Radarr submit torrent files using the cleaned release title as the multipart filename, so this matches the title used for detection/scoring..magnetfiles preserve embedded display names and fall back to the uploaded.magnetfilename when no display name is present.nameandcontent_pathvalues so ARR clients see the folder Decypharr actually creates.folder_naming.Testing
Steps:
Parsing string 'Season 01 1080p WEB-DL x265'No matching series SeasonParsing string 'Example Show Season 01 S01 1080p WEB-DL x265'Episode Parsed. Example Show - Season 01Episode 01x03 was unexpected considering the Season 01 1080p WEB-DL x265 folder nameNot all episodes have been imported for the release 'Season 01 1080p WEB-DL x265'Example Show Season 01 S01 1080p WEB-DL x265.go test ./internal/utils ./pkg/storage ./pkg/server/qbitRisks / Notes
webdav_folder_naming, but the current global config key isfolder_naming; this PR only updates the docs to match existing config behavior.CON,NUL,COM1, etc.Screenshots (if applicable)
Checklist