* put max priority on original filename for all kinds of info extracted from filename

This commit is contained in:
Reinhard Pointner 2012-12-29 18:02:49 +00:00
parent 618e566e3f
commit 1d3181bb9e
1 changed files with 2 additions and 2 deletions

View File

@ -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));
}