Help to script iso file and mkv file format differently

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
cprelot
Posts: 2
Joined: 15 Nov 2015, 18:20

Help to script iso file and mkv file format differently

Post by cprelot »

Hi,
I would like some help to tweak my script
I need to add (BluRay) follow the name movie file if it's only (.iso) format
And have (HD1080) if it's (.MKV)

EX:
Need to name this file :
Avatar.2009.3D.iso
Like : Avatar (2009) (3D) (BluRay)

Avatar.2009.3D.mkv
Like : Avatar (2009) (3D) (HD1080P)

Thanks
User avatar
rednoah
The Source
Posts: 23953
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Help to script iso file and mkv file format differently

Post by rednoah »

Easy:

Code: Select all

{if (ext =~ /iso/) '(BluRay)'}{if (ext =~ /mkv/) '(HD1080P)'}
:idea: Please read the FAQ and How to Request Help.
cprelot
Posts: 2
Joined: 15 Nov 2015, 18:20

Re: Help to script iso file and mkv file format differently

Post by cprelot »

thank you very much !!
Post Reply