BLURAY vs BLU-RAY vs Blu-ray

All about user-defined episode / movie / file name format expressions
Post Reply
mervincm
Posts: 6
Joined: 02 Jun 2018, 17:10

BLURAY vs BLU-RAY vs Blu-ray

Post by mervincm »

I have not been consistent in my file naming in {source} and hope to use filebot to change everything to the correct spelling of Blu-ray.

I use this for format
{plex} [{source}-{vf} {vc} {hdr} {ac}-{channels} {audiolanguages}]

I would also like to apply the change without modifying the "modified date" if at all possible.
User avatar
rednoah
The Source
Posts: 22976
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: BLURAY vs BLU-RAY vs Blu-ray

Post by rednoah »

You may prefer to use the new {vs} binding:
viewtopic.php?t=11265


:idea: FileBot does not modify the Last Modified date, but the OS might do that implicitly when performing rename or xattr operations, depending on the OS. If you're using Windows, then writing xattr is known to update the Last Modified date.
:idea: Please read the FAQ and How to Request Help.
mervincm
Posts: 6
Joined: 02 Jun 2018, 17:10

Re: BLURAY vs BLU-RAY vs Blu-ray

Post by mervincm »

Thank you for the reply!

I just noticed that filebot was actually contributing to my problem. a correctly named file

Ford v Ferrari (2019) [Blu-ray 2160p x265 HDR10 MLPFBA-7.1 [eng]].mkv
would be renamed to an incorrectly spelled
Ford v Ferrari (2019) [BluRay 2160p x265 HDR10 MLPFBA-7.1 [eng]].mkv

I will look at the new feature and respond here if I can get it to do what I am looking for.
mervincm
Posts: 6
Joined: 02 Jun 2018, 17:10

Re: BLURAY vs BLU-RAY vs Blu-ray

Post by mervincm »

This is your standard
BluRay Blu.?Ray|BDRip|BRip|BR.?Rip|BDMV|BD|BDR|BD25|BD50|BD5|BD9|3D.?BluRay|3DBD

but BluRay is not the correct spelling. Blu-ray is. if you didn't want to include the - for some reason, even Bluray would be closer that BluRay.
User avatar
rednoah
The Source
Posts: 22976
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: BLURAY vs BLU-RAY vs Blu-ray

Post by rednoah »

The {vs} binding normalizes all BluRay-like patterns to BluRay. That is the standard. If you're not happy with that standard, then you can always do your own replacements or your own matching.

e.g.

Code: Select all

fn.match(/blu.?ray/)
:idea: Please read the FAQ and How to Request Help.
Post Reply