Subtitle language detection and genre sorting
Posted: 31 Jan 2016, 21:21
Hi,
I know the language detection is no longer supported, but I tried your method:
I used it like this:
And it does not work. It renames all files, including *.avi *.mp4 etc. So I must be doing something wrong, as I only want to add language code to srt files.
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!
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!