Page 1 of 1

Help to script iso file and mkv file format differently

Posted: 15 Nov 2015, 18:33
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

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

Posted: 15 Nov 2015, 19:03
by rednoah
Easy:

Code: Select all

{if (ext =~ /iso/) '(BluRay)'}{if (ext =~ /mkv/) '(HD1080P)'}

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

Posted: 16 Nov 2015, 00:20
by cprelot
thank you very much !!