* 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
1 changed files with 1 additions and 2 deletions

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