* do only strict subtitles matching in amc by default
This commit is contained in:
parent
02f714b6ab
commit
245b108c3b
|
@ -154,7 +154,7 @@ groups.each{ group, files ->
|
||||||
// fetch subtitles (but not for anime)
|
// fetch subtitles (but not for anime)
|
||||||
if (subtitles && !group.anime) {
|
if (subtitles && !group.anime) {
|
||||||
subtitles.each{ languageCode ->
|
subtitles.each{ languageCode ->
|
||||||
def subtitleFiles = getMissingSubtitles(file:files, output:'srt', encoding:'UTF-8', lang:languageCode) ?: []
|
def subtitleFiles = getMissingSubtitles(file:files, output:'srt', encoding:'UTF-8', lang:languageCode, strict:true) ?: []
|
||||||
files += subtitleFiles
|
files += subtitleFiles
|
||||||
tempFiles += subtitleFiles // if downloaded for temporarily extraced files delete later
|
tempFiles += subtitleFiles // if downloaded for temporarily extraced files delete later
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue