Radarr Naming Schemes

All about user-defined episode / movie / file name format expressions
Post Reply
User avatar
rednoah
The Source
Posts: 23922
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Radarr Naming Schemes

Post by rednoah »

Radarr and FileBot are both highly customizable when it comes to naming and organizing your media files. The FileBot format engine is programmable and can mimic any Radarr naming scheme to any degree of 1:1 accuracy. However, the examples below prioritize simplicity over 1:1 correctness.



Example 1

Code: Select all

{Movie CleanTitle} {(Release Year)} {tmdb-{TmdbId}} {imdb-{ImdbId}} {edition-{Edition Tags}} {[Quality Full]}{[MediaInfo 3D]}{[MediaInfo VideoDynamicRangeType]}{[Mediainfo AudioCodec}{ Mediainfo AudioChannels]}[{Mediainfo VideoCodec}]{-Release Group}

Format: Select all

{ plex % {" {tmdb-$tmdbid}"} % {" {imdb-$imdbid}"} % {"{edition-$edition}"} % {" [$vs-$vf]"} % {" [$s3d]"} % {" [$hdr]"} % {" [$ac $channels]" } % {" [$vc]"} % {" -$group"} }

Example 2

Code: Select all

{Movie Title} {(Release Year)} {Edition Tags} {Quality Full} {MediaInfo VideoDynamicRange} {MediaInfo AudioCodec} {MediaInfo AudioChannels}

Format: Select all

{ny} {tags} {vs}-{vf} {hdr} {ac} {channels}

Example 3

Code: Select all

{Movie TitleThe} {(Release Year)} [tmbdid-{TmdbId}] [imdbid-{ImdbId}] {edition-{Edition Tags}} {[Quality Full]}{[MediaInfo 3D]}{[MediaInfo VideoDynamicRangeType]}{[Mediainfo AudioCodec}{ Mediainfo AudioChannels}][{Mediainfo VideoCodec}][{MediaInfo VideoBitDepth}]{MediaInfo AudioLanguages}{-Release Group}

Format: Select all

{n.sortName()} ({y}) [tmdbid-{tmdbid}] [imdb-{imdbid}] {"{edition-$edition}"} {vs}-{vf} {s3d} {hdr} {"${bitdepth}bit"} {ac} {channels} {vc} {audioLanguages}{-group}

Example 4

Code: Select all

Avatar (2009) {tmdb-19995}/Avatar (2009) [Bluray-2160p]

Format: Select all

{ ~plex.id % { " [${width >= 1280 ? 'Bluray' : 'DVD'}-${vf}]" } }
** this example assumes that {vs} source media is undefined and so uses {width} to guess the source medium instead


:idea: Please read the FAQ and How to Request Help.
brijazz
Posts: 32
Joined: 25 May 2022, 20:53

Re: Radarr Naming Schemes

Post by brijazz »

It seems that Filebot's {hdr} binding gives different results than Radarr's {[MediaInfo VideoDynamicRangeType]} binding. If a file has both DV and HDR10, Filebot's {hdr} returns only DV, while Radarr returns DV HDR10. Is there any way to more closely replicate Radarr's behaviour?
User avatar
rednoah
The Source
Posts: 23922
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Radarr Naming Schemes

Post by rednoah »

brijazz wrote: 22 Feb 2025, 14:36 If a file has both DV and HDR10, Filebot's {hdr} returns only DV, while Radarr returns DV HDR10. Is there any way to more closely replicate Radarr's behaviour?
e.g. if hdr is Dolby Vision then print DV HDR10 instead:

Format: Select all

{ hdr.replace('Dolby Vision':'DV HDR10') }

:idea: If you mean to add a DV+HDR10 (Dolby Vision with HDR10 fallback) marker then see {hdr} binding for example code.
:idea: Please read the FAQ and How to Request Help.
brijazz
Posts: 32
Joined: 25 May 2022, 20:53

Re: Radarr Naming Schemes

Post by brijazz »

Thanks. But would this replacement result in files that only have Dolby Vision being named incorrectly?
User avatar
rednoah
The Source
Posts: 23922
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Radarr Naming Schemes

Post by rednoah »

:?: Do you mean Dolby Vision with HDR10 fallback as opposed to just Dolby Vision? The code { hdr.replace('Dolby Vision':'DV HDR10') } simply replaces the text Dolby Vision with DV HDR10. No more. No less.

:idea: If you mean to add a DV+HDR10 (Dolby Vision with HDR10 fallback) marker for files that have Dolby Vision with HDR10 fallback then see {hdr} binding for example code:

Format: Select all

{ video.HDR_Format =~ /Dolby Vision/ && video.HDR_Format_Compatibility =~ /HDR10/ ? 'DV+HDR10' : hdr }
:idea: Please read the FAQ and How to Request Help.
brijazz
Posts: 32
Joined: 25 May 2022, 20:53

Re: Radarr Naming Schemes

Post by brijazz »

Yes - I'd love for the {hdr} binding (or some equivalent instruction) to be able to output "DV" if only DV is present and "DV HDR10" if both DV and HDR10 are present. I'll look at the second example you posted, that seems like it will do the trick.
User avatar
rednoah
The Source
Posts: 23922
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Radarr Naming Schemes

Post by rednoah »

e.g. check for DV+HDR10 and DV specifically and otherwise default to the {hdr} binding:

Format: Select all

{ video.HDR_Format =~ /Dolby Vision/ ? video.HDR_Format_Compatibility =~ /HDR10/ ? 'DV+HDR10' : 'DV' : hdr }
:idea: Please read the FAQ and How to Request Help.
Post Reply