Page 1 of 1
Include quality in the file name
Posted: 06 Jan 2019, 21:29
by AquaRelliux
Hello Filebot forums
I am fairly new to Filebot and regexp just got my license today! I am wondering if it is possible to include to quality and type in the filename the result I am looking for is this:
The.Series - S04E22 - Pilot HDTV-720p
I can get it to include "HD" but not "TV" how do I get it to include the full quality type? Syntax looks like this now:
Code: Select all
{s00e00} - {t} {vf} {hd} {'.'+lang.ISO2}
Re: Include quality in the file name
Posted: 07 Jan 2019, 13:00
by rednoah
The
{hd} binding will only ever yield
SD /
HD /
UHD. It will never yield TV.
Maybe you want HD / UHD but not SD?
This will do:
or something more specific, like checking the video height:
Re: Include quality in the file name
Posted: 07 Jan 2019, 15:12
by AquaRelliux
I want it to actually include TV because that is what Sonarr renames the file too. I want the Sonarr renaming and renaming from filebot to match. I will most likely only rename my files once with filebot and then let Sonarr rename them in the future. Here is an example on how Sonarr renames tv-shows:

Re: Include quality in the file name
Posted: 07 Jan 2019, 16:02
by rednoah
What does HDTV mean in Sonarr? Isn't that just the video source?
FileBot allows you to match the "source" from the existing file name via the
{source} binding:
Alternatively, maybe this will do? That'll give yo SDTV / HDTV / UHDTV depending on the video resolution:
Re: Include quality in the file name
Posted: 11 Jan 2019, 21:57
by AquaRelliux
It means Quality. In Filebot you just get the resolution with {hd} not the actual quality of the episode which would be either HDTV or WEB etc
Re: Include quality in the file name
Posted: 12 Jan 2019, 01:34
by rednoah
I see. In FileBot, that would be {source} which matches patterns such as HDTV / WEB / BLURAY / etc from the current / original filename.