[Question] Select by file name?
Obegg opened this issue · 2 comments
Obegg commented
Example:
-- Folder name: Movie
--- Movie.mkv
--- Movie_eng.ass
--- Movie_chi.ass
--- Movie_spa.ass
Is it possible to auto-select subs with "eng" as their file name?
In some cases those are the only indications to which language the subs are.
CogentRedTester commented
This option here will select such external files if they do not contain a proper language code:
{
"alang": "*",
"slang": "und",
"condition": "sub.external and (sub['external-filename'] or ''):lower():find('eng') ~= nil"
}
Obegg commented
Thank you!