16.09.2026, 22:03
Greeting Selur!
Hope all is well with you. I was doing some encoding today and wanted to use SpotLess but I couldn't preview with that enabled as I was getting:
The error traces back to SpotLess.avs which contains the line:
Reverse only accepts one parameter and this is passing two, so I replaced the line with:
and now preview opens successfully.
Best wishes, cu
Hope all is well with you. I was doing some encoding today and wanted to use SpotLess but I couldn't preview with that enabled as I was getting:
Quote:Avisynth preview error: -> Script error: Invalid arguments to function 'Reverse'. (C:\Program Files\Hybrid\64bit\Avisynth\avisynthPlugins\SpotLess.avs, line 104) (C:\Users\Ian\AppData\Local\Temp\tempPreviewAvisynthFile18_03_46_145.avs, line 18)
The error traces back to SpotLess.avs which contains the line:
Quote:Last.Reverse(Trim(1,-radT)) + Last + Last.Reverse(Trim(Framecount-1-radT,-radT))
Reverse only accepts one parameter and this is passing two, so I replaced the line with:
Quote:Trim(1,-radT).Reverse() + Last + Trim(Framecount-1-radT,-radT).Reverse()
and now preview opens successfully.
Best wishes, cu

