1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-08-13 17:03:45 -04:00

* make sure video resolution doesn't interfere with group pattern

This commit is contained in:
Reinhard Pointner 2015-04-28 15:45:18 +00:00
parent 30311def8b
commit 2d593ddacd

View File

@ -486,8 +486,7 @@ public class MediaBindingBean {
if (filenames[i] == null)
continue;
// normalize space characters
filenames[i] = nonGroupPattern.matcher(normalizePunctuation(normalizeSpace(filenames[i], " "))).replaceAll("");
filenames[i] = releaseInfo.clean(normalizePunctuation(normalizeSpace(filenames[i], " ")), nonGroupPattern, releaseInfo.getVideoSourcePattern(), releaseInfo.getVideoFormatPattern(true), releaseInfo.getResolutionPattern());
}
// look for release group names in media file and it's parent folder