* make sure we don't accidentally match {group} from the episode title

This commit is contained in:
Reinhard Pointner 2014-06-30 19:00:38 +00:00
parent c4fb1e1453
commit 123bf659da
1 changed files with 7 additions and 0 deletions

View File

@ -459,6 +459,13 @@ public class MediaBindingBean {
titles.add(getName());
titles.add(getYear().toString());
titles.addAll(getAliasNames());
try {
for (Episode it : getEpisodes()) {
titles.add(it.getTitle());
}
} catch (Exception e) {
// ignore for non-Episode objects
}
Pattern nonGroupPattern = releaseInfo.getCustomRemovePattern(titles);
for (int i = 0; i < filenames.length; i++) {