Hi again
I am just starting to get to grips with the renaming syntax but I have a question to ask whether something is possible.
At the moment for my files which are in HD, my filenames include either 720p or 1080p. Is there any way to keep these in the new filenames when Filebot renames the files?
Thanks.
Norman
Including HDTV definition
Re: Including HDTV definition
Sounds like you want to use the {vf} binding in your format.
@see https://www.filebot.net/naming.html#bindings
@see https://www.filebot.net/naming.html#bindings
Re: Including HDTV definition
Thank you for that link. That is just what I need.
Re: Including HDTV definition
{vf} is ok if ALL your files are 720p or 1080p
but, instead of just {vf} you can use my custom:
or
= {vf} + support for m720p / m1080p or if e.g. '480p' it will write 'SD' (like Kodi does)
btw: "Including HDTV definition" = {source}
but, instead of just {vf} you can use my custom:
Code: Select all
{def dir = file.parentFile.name+'.'+fn;
dir.find(/\bm720p\b|\bm1080p\b/) ? '.'+'m'+vf : dim[0]>=1280||dim[1]>=720 ? '.'+vf : '.'+hd}
Code: Select all
{def dir = file.parentFile.name+'.'+fn;
dir.find(/\bm720p\b|\bm1080p\b/) ? '.'+'m'+vf : hd=='HD' ? '.'+vf : '.'+hd}
btw: "Including HDTV definition" = {source}
Re: Including HDTV definition
Thanks for this one, too. Great to see such support. I just wish I had discovered Filebot months ago.