Page 1 of 1

Set Source based on bitrate

Posted: 18 May 2019, 14:16
by zenyatta80
Hi,

I am trying a mass renaming of my movie files. The objective is to be able to tag low bitrate movies so that I can use Radarr to download a better version. What I want to do is set the source as "Webdl" wherever the bitrate is less than 5 mbps.

I am such a newbie using filebot so appreciate any assistance with this. I will be running this using CLI on Linux.

Many thanks

Re: Set Source based on bitrate

Posted: 18 May 2019, 14:22
by rednoah
Best to play with the Format Editor GUI before you copy & paste your format into your CLI call:
https://www.filebot.net/naming.html

e.g.

Code: Select all

{bitrate < 5_000_000 ? 'Low Bitrate' : 'High Bitrate'}

Re: Set Source based on bitrate

Posted: 18 May 2019, 15:26
by zenyatta80
many thanks.

How could I move these low birate files into a special folder?

Re: Set Source based on bitrate

Posted: 18 May 2019, 15:34
by rednoah
The code for that is exactly the same:

Code: Select all

/path/to/{bitrate < 5_000_000 ? 'Low Bitrate' : 'High Bitrate'}/{fn}