1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2025-01-01 12:54:21 +00:00
This commit is contained in:
Devin Buhl 2017-03-04 12:01:59 -05:00
parent 46daa11c46
commit 39322cbbca
3 changed files with 4 additions and 2 deletions

View file

@ -112,7 +112,7 @@ private Response Search()
var files = _diskScanService.GetVideoFiles(f.Path);
var decisions = _importDecisionMaker.GetImportDecisions(files.ToList(), m, true, true);
var decisions = _importDecisionMaker.GetImportDecisions(files.ToList(), m, true);
var decision = decisions.Where(d => d.Approved && !d.Rejections.Any()).FirstOrDefault();

View file

@ -178,7 +178,7 @@ public void Scan(Movie movie)
_mediaFileTableCleanupService.Clean(movie, mediaFileList);
var decisionsStopwatch = Stopwatch.StartNew();
var decisions = _importDecisionMaker.GetImportDecisions(mediaFileList, movie, true, true);
var decisions = _importDecisionMaker.GetImportDecisions(mediaFileList, movie, true);
decisionsStopwatch.Stop();
_logger.Trace("Import decisions complete for: {0} [{1}]", movie, decisionsStopwatch.Elapsed);

View file

@ -15,6 +15,8 @@ module.exports = Backgrid.SelectCell.extend({
if(ProfileCollection.get(this.defaultProfile))
{
this.profile = this.defaultProfile;
} else {
this.profile = ProfileCollection.get(1);
}
this.render();