From 1d3181bb9eaa248fbe20e3ff3dd535879907238e Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Sat, 29 Dec 2012 18:02:49 +0000 Subject: [PATCH] * put max priority on original filename for all kinds of info extracted from filename --- source/net/sourceforge/filebot/format/MediaBindingBean.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/net/sourceforge/filebot/format/MediaBindingBean.java b/source/net/sourceforge/filebot/format/MediaBindingBean.java index 25476e0e..80326aba 100644 --- a/source/net/sourceforge/filebot/format/MediaBindingBean.java +++ b/source/net/sourceforge/filebot/format/MediaBindingBean.java @@ -376,7 +376,7 @@ public class MediaBindingBean { File inferredMediaFile = getInferredMediaFile(); // look for video source patterns in media file and it's parent folder - return releaseInfo.getVideoSource(inferredMediaFile.getParent(), getOriginalFileName(inferredMediaFile), inferredMediaFile.getName()); + return releaseInfo.getVideoSource(inferredMediaFile.getParent(), inferredMediaFile.getName(), getOriginalFileName(inferredMediaFile)); } @@ -386,7 +386,7 @@ public class MediaBindingBean { File inferredMediaFile = getInferredMediaFile(); // look for release group names in media file and it's parent folder - return releaseInfo.getReleaseGroup(inferredMediaFile.getParent(), getOriginalFileName(inferredMediaFile), inferredMediaFile.getName()); + return releaseInfo.getReleaseGroup(inferredMediaFile.getParent(), inferredMediaFile.getName(), getOriginalFileName(inferredMediaFile)); }