Error "Script5$_run_closure5"
Posted: 03 Mar 2022, 20:39
I'm using version 4.9.5 and when updating from version 4.9.4 that I have been using for quite some time. I get when renaming the following error:
the part of my preset that causes this output seems to be the following
I would be very grateful if you can help me solve it because I have several presets for series, movies, anime, documentaries and they are all failing in that same section.
Code: Select all
Script5$_run_closure5@2e645f31
Code: Select all
[{
(hd == 'SD') ? {any{text.size()}{0} > 0 ? 'SD':'SD'} :
(hd == 'UHD') ? ( (gigabytes > 10 && mbps >= 26 ? '4K UHDremux' : {any{text.size()}{0} > 0 ? '4K BDrip':'4K BDrip'})) :
(hd == 'HD' && vf == '720p') ? {any{text.size()}{0} > 0 ? '720p':'720p'} :
(hd == 'HD' && vf == '1080p' ?
(gigabytes > 15 && mbps >= 18 ) ? '1080p BDremux' :
(mbps >= 8 ) ? {any{text.size()}{0} > 0 ? '1080p BDrip':'1080p BDrip'} : {any{text.size()}{0} > 0 ? '1080p BRrip':'1080p BRrip'} :
{any{text.size()}{0} > 0 ? '1080p BRrip':'1080p BRrip'})}
{' (' + fn.matchAll(/extended|uncensored|open.matte|noir.edition|remastered|unrated|uncut|directors.cut|special.edition/)*.upperInitial()*.lowerTrail().sort().join(', ').replaceAll(/[._]/, " ") + ')'}
{fn =~ /3D|3d/ ? ' 3D' : ''}