prefer subs whose default-ness matches the default-ness of the audio

This commit is contained in:
xenofem 2024-02-27 23:18:30 -05:00
parent 92e4ef22bc
commit 088856fff9

View file

@ -77,13 +77,21 @@
} }
# Non-English audio: # Non-English audio:
# 1. English non-signs non-forced subs # 1. English non-signs non-forced subs, default subs iff default audio
# 2. English non-signs forced subs # 2. English non-signs non-forced subs
# 3. Undefined non-signs non-forced subs # 3. English non-signs forced subs
# 4. Undefined non-signs forced subs # 4. Undefined non-signs non-forced subs, default subs iff default audio
# 5. English signs/songs subs, I guess # 5. Undefined non-signs non-forced subs
# 6. Undefined signs/songs subs, I guess # 6. Undefined non-signs forced subs
# 7. Forced subs in other languages, I guess # 7. English signs/songs subs, I guess
# 8. Undefined signs/songs subs, I guess
# 9. Forced subs in other languages, I guess
{
alang = "*";
slang = "eng?";
blacklist = [ "sign" "song" ];
condition = "not sub.forced and ((audio.default and sub.default) or (not audio.default and not sub.default))";
}
{ {
alang = "*"; alang = "*";
slang = "eng?"; slang = "eng?";
@ -95,6 +103,12 @@
slang = "eng?"; slang = "eng?";
blacklist = [ "sign" "song" ]; blacklist = [ "sign" "song" ];
} }
{
alang = "*";
slang = "und";
blacklist = [ "sign" "song" ];
condition = "not sub.forced and ((audio.default and sub.default) or (not audio.default and not sub.default))";
}
{ {
alang = "*"; alang = "*";
slang = "und"; slang = "und";