Double language segment on rename
Posted: 30 Sep 2024, 16:06
I searched but this issue either doesn't exist here or I didn't find the right search params to land on solution.
When renaming the contents of a movie folder which contains subtitles, the language suffix gets doubled.

My code is pretty straightforward…
Any ideas how I can code that extra middle language suffix out without having to do it manually?
When renaming the contents of a movie folder which contains subtitles, the language suffix gets doubled.

My code is pretty straightforward…
Code: Select all
/Volumes/video/Movies/{n0 = n.sortName().charAt(0); n0.isDigit() ? '[0-9]' : n0}/{ ~plex.id } [{vf}]{ '.' + lang.ISO3 }