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

* 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

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++) {