version 4.8.5
{video[0].FrameRate} results in Script1$_run_closure1@30bca03e
confirmed -- error is not present in 4.8.3
4.8.5 {video[0].FrameRate} results in Script1$_run_closure1@30bca03e
Re: 4.8.5 {video[0].FrameRate} results in Script1$_run_closure1@30bca03e
What's the complete format you're using?
Re: 4.8.5 {video[0].FrameRate} results in Script1$_run_closure1@30bca03e
Code: Select all
{n}/{n} - {s00e00} - {t} - [{airdate}] {'['+vf+' '+mbps+' '+ac+' '+af+' '+{video[0].FrameRate}+' ' +vc.replace('Microsoft', 'VC-1').replace ('AVC','H.264').replace ('HEVC','x265') +']'}
yhm28 wrote: ↑24 Jan 2018, 09:24rednoah wrote: ↑24 Jan 2018, 09:10
There is no convenience binding for the frame rate, so you'll have to grab it from the video stream directly:@see viewtopic.php?f=5&t=4285Code: Select all
{video[0].FrameRate}
Re: 4.8.5 {video[0].FrameRate} results in Script1$_run_closure1@30bca03e
This will work:
viewtopic.php?f=5&t=1895
Although {x} (yields the value of x) would be correct, you're technically doing {{x}} (yields a closure that yields the value of x) which is not technically correct, but seems to accidentally have worked in older versions.
You can also use the fps binding instead of doing video[0].FrameRate to slightly simplify your format expression.
Code: Select all
{n}/{n} - {s00e00} - {t} - [{airdate}] {'['+vf+' '+mbps+' '+ac+' '+af+' '+fps+' ' +vc.replace('Microsoft', 'VC-1').replace ('AVC','H.264').replace ('HEVC','x265') +']'}


