Add words to movie name and keep Extended Edition,Directors Cut, Uncut etc?

Any questions? Need some help?
Post Reply
mterrill
Posts: 22
Joined: 21 May 2018, 21:08

Add words to movie name and keep Extended Edition,Directors Cut, Uncut etc?

Post by mterrill »

Hi,

Is there anyway for Filebot to keep a part of the file name if a particular word is in it?

i.e. In a previous tool I used, if it saw "Dolby Atmos" in the file name it kept it in there...

Or if the name Uncut or Directors Cut, extended editon etc... was in it it would keep these

i.e. Kong- Skull Island - Dolby Atmos (2017) would be the file name....
or
Walk the line Extended Edition

or is there a way for FileBot to determine the audio codec and then Add the label "Dolby Atmos"....?

Thanks,

​​​​​​​Matt
User avatar
rednoah
The Source
Posts: 19141
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Add words to movie name and keep Extended Edition,Directors Cut, Uncut etc?

Post by rednoah »

1.
Known tags such as "Extended Edition" can be added via the {tags} binding in your custom format.

You can do it yourself as well though, and then you can match / keep anything:

Code: Select all

fn.match(/Dolby.Atmos/)

2.
If you want to tag all Dolby Atmos files with Dolby Atmos, then I'd recommend looking into the MediaInfo bindings, which can probably be used to determine if a file is Dolby Atmos or not, so you don't have to rely on the filename:
viewtopic.php?f=5&t=4285

You'd have to check yourself which MediaInfo properties might allow you to tell if it's a Dolby Atmos file or not, as I don't have any Dolby Atmos content for testing myself.
:idea: Please read the FAQ and How to Request Help.
mterrill
Posts: 22
Joined: 21 May 2018, 21:08

Re: Add words to movie name and keep Extended Edition,Directors Cut, Uncut etc?

Post by mterrill »

Thanks, how do I get {tags} to work? and can you add to the specific tags?

This is my renaming scheme for now...

Code: Select all

D:/Movies to Move/{ny.colon(' - ').replace('?', '!')}/{n.colon(' - ').replace('?', '!')}
User avatar
rednoah
The Source
Posts: 19141
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Add words to movie name and keep Extended Edition,Directors Cut, Uncut etc?

Post by rednoah »

You can use {tags} in your format. Note that the {tags} only works if the original filename contains certain text patterns such as "Directors Cut" in the filename, but these patterns cannot be modified by end users. You can suggest new patterns for inclusion in the next release though.


Original Name:

Code: Select all

Avatar.2009.Extended.Edition.mp4
Format:

Code: Select all

{ny} {tags}
New Name:

Code: Select all

Avatar (2009) [Extended Edition]
:idea: Please read the FAQ and How to Request Help.
devster
Posts: 388
Joined: 06 Jun 2017, 22:56

Re: Add words to movie name and keep Extended Edition,Directors Cut, Uncut etc?

Post by devster »

This is what tags identifies

Code: Select all

pattern.video.tags: (Extended.|Ultimate.)?(Director.?s|Collector.?s|Theatrical|Ultimate|Final|Extended|Rogue|Special|Despecialized|R.Rated).(Cut|Edition|Version)|Extended|Remastered|Recut|Uncut|Uncensored|Unrated|IMAX
to add to them you need to manually match them as in rednoah's post.
I only work in black and sometimes very, very dark grey. (Batman)
mterrill
Posts: 22
Joined: 21 May 2018, 21:08

Re: Add words to movie name and keep Extended Edition,Directors Cut, Uncut etc?

Post by mterrill »

When trying to add {tags} I get this error

Binding "tags": undefined

This is just what I was testing

Code: Select all

D:/Movies to Move/{ny.colon(' - ').replace('?', '!')}/{n.colon(' - ').replace('?', '!')}{tags}
kim
Power User
Posts: 1047
Joined: 15 May 2014, 16:17

Re: Add words to movie name and keep Extended Edition,Directors Cut, Uncut etc?

Post by kim »

Test with a file that has the "tags"... e.g. "Extended"
Post Reply