mirror of
https://github.com/Radarr/Radarr.git
synced 2026-03-02 22:57:34 -05:00
Conditional if / else support in Movie / Folder Naming #9246
Labels
No labels
Area: API
Area: Database
Area: Db-migration
Area: Download Clients
Area: Extras
Area: Import Lists
Area: Indexer
Area: Metadata API
Area: Notifications
Area: Organizer
Area: Parser
Area: Scanning
Area: Tooling
Area: UI
Area: Unit Tests
On Hold: MetadataAPI Blocking
On Hold: MetadataAPI Blocking
Priority: High
Priority: Low
Priority: Medium
Status: Accepted
Status: Cannot Reproduce
Status: Confirmed
Status: Help Wanted
Status: In Progress
Status: Indexer - need invite
Status: Info Needed
Status: Investigating
Status: Logs Needed
Status: Maybe One Day
Status: Needs Triage
Status: On Hold
Status: Ready for Review
Status: Unlikely
Status: Waiting for OP
Status: Won't Fix
Type: Bug
Type: Documentation
Type: Duplicate
Type: Enhancement
Type: External Bug
Type: Feature Request
Type: Regression
Type: Support
Type: Support.
conflict
lidarr-pull
no-conflict
not-pulled
readarr-pull
readarr-pull
sonarr upstream
sonarr-pull
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Radarr#9246
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ravioldev on GitHub (Aug 3, 2025).
Is there an existing issue for this?
Is your feature request related to a problem? Please describe
I need different naming patterns depending on whether a movie belongs to a collection.
Today Radarr can only hide an entire block when all tokens inside it are empty. That means:
Describe the solution you'd like
Add simple conditionals to the naming engine, e.g.:
{{#if Movie Collection}}
{Movie Collection} ({Release Year}) - {Movie Title}
{{else}}
{Movie Title} ({Release Year})
{{/if}}
Describe alternatives you've considered
Anything else?
@bakerboy448 commented on GitHub (Aug 3, 2025):
@ravioldev commented on GitHub (Aug 3, 2025):
I may have not explained well, but I know it is part of the movie not the collection, however I would like to put it after the collection name and before the movie name, except for those movies that are not part of a collection.
Anyway, the request is not about that, but about having conditional renaming rules. Why not to implement that? If anything, then any other thing.
And also why cannot have multiple {{ }} to hide things? In example why something like this cannot be done? "{{Movie Collection} ({Release Year}) - }{Movie Title}" in order to hide everything before Movie Tittle if the "Movie Collection" doesn't exist?