I know the language detection is no longer supported, but I tried your method:
Code: Select all
{if (ext == 'srt' && file.text.matchAll('the|a|an').size() > 100) '.eng' else '.deu'}
Code: Select all
/Volumes/Public/Seriály/{n}/{'Season '+s}/{n} - {s00e00} - {t} {if (ext == 'srt' && file.text.matchAll('the|an').size() > 100) '.eng' else '.cze'}
Also, I would like to separate the movies by genre by creating folders for comedies, thrillers etc...
Can you please help finding the correct syntax?
Thank you!