What exactly is your format trying to do in a weird roundabout way?
If you want
{vf} then why not just use
{vf}?
{vf} will give you
1080p in this case, i.e. the value you seemingly want.
If you want
{vf} in certain conditions only then why not use
conditions?
Perhaps you're trying to achieve something like this? SD for 240p, 360p, and below, but 720p for 720p, 1080p for 1080p, and so on:
{hd} is more specific in newer versions, e.g. if
{hd} yields
FHD and your code replaces
HD for some reason, then the leading
F remains unchanged:
rednoah wrote: ↑18 Feb 2023, 03:41
• Enhanced
{hd} with support for additional HD resolutions
(i.e. UHD / QHD / FHD / HD / SD)