Closed Anskrevy closed 2 years ago
The Lua pattern escape character is %
not \
. You could also just blacklist translation only
The Lua pattern escape character is
%
not\
.
Thanks for the tip. It didn't seem to work in this case but that is good to know.
You could also just blacklist
translation only
Solved. I tried Translation Only
, but that didn't work. Should blacklist or other items be kept lower case? Anyways thank you for the help.
Oh yes, the script will convert the titles of the tracks to lowercase for more consistent matching, but the whitelist
/blacklist
don't get converted so as not to break Lua patterns, so if you include capitals in the strings it won't work. I should mention that in the README.
I imagine that english %(translation only%)
would probably have worked.
I've got a video with two subtitles. One has the name "English" and the other has the name "English (Translation Only)". The default sub is the latter which is akin to signs/songs in terms of actually being useful when watching something with an audio track in another language.
I have this in my
sub-select.json
Despite that I can't seem to blacklist this sub for some reason. I tried escaping the parentheses with one and two backslashes but to no avail.
Any idea what might be going on?
Here is the output from mkvinfo in case I missed something.