Fix format pattern issues (e.g. MA in MAN was cleaned in non-strict mode)

This commit is contained in:
Reinhard Pointner 2016-11-15 05:33:01 +08:00
parent 131a5a29aa
commit 169d41c5e0
2 changed files with 1 additions and 2 deletions

View File

@ -188,7 +188,6 @@ public class ReleaseInfo {
return items.stream().map(it -> {
String head = strict ? clean(it, stopwords[b]) : substringBefore(it, stopwords[b]);
String norm = normalizePunctuation(clean(head, blacklist[b]));
// debug.finest(format("CLEAN: %s => %s => %s", it, head, norm));
return norm;
}).filter(s -> s.length() > 0).collect(toList());
}

View File

@ -14,7 +14,7 @@ pattern.video.repack: REPACK|PROPER
pattern.subtitle.tags: forced|HI|SDH
# additional release info patterns
pattern.video.format: DivX|Xvid|AVC|(x|h)[.]?(264|265)|HEVC|3ivx|PGS|MP[E]?G[45]?|MP[34]|(FLAC|AAC|AC3|DD|MA)(.?[2457][.]?[01])?|[26]ch|(Multi.)?DTS(.HD)?(.MA)?|TrueHD|Atmos|[M0]?(720|1080)[pi]|(?<=[-])(720|1080|2D|3D)|10.?bit|(24|30|60)FPS|Hi10[P]?|[a-z]{2,3}.(2[.]0|5[.]1)|(19|20)[0-9]+(.)S[0-9]+(?!(.)?E[0-9]+)|(?<=\\d+)v[0-4]|CD\\d+
pattern.video.format: DivX|Xvid|AVC|(x|h)[.]?(264|265)|HEVC|3ivx|PGS|MP[E]?G[45]?|MP[34]|(FLAC|AAC|AC3|DD|MA).?[2457][.]?[01]|[26]ch|(Multi.)?DTS(.HD)?(.MA)?|FLAC|AAC|AC3|TrueHD|Atmos|[M0]?(720|1080)[pi]|(?<=[-])(720|1080|2D|3D)|10.?bit|(24|30|60)FPS|Hi10[P]?|[a-z]{2,3}.(2[.]0|5[.]1)|(19|20)[0-9]+(.)S[0-9]+(?!(.)?E[0-9]+)|(?<=\\d+)v[0-4]|CD\\d+
# known release group names
url.release-groups: https://app.filebot.net/data/release-groups.txt.xz