Refresh series logs more and is done in alphabetical order

pull/4/head
Mark McDowall 11 years ago
parent 94d50de6cb
commit 3789602e56

@ -54,6 +54,7 @@ namespace NzbDrone.Core.MediaFiles
var decisions = _importDecisionMaker.GetImportDecisions(mediaFileList, series, false);
_importApprovedEpisodes.Import(decisions);
_logger.Info("Completed scanning disk for {0}", series.Title);
}
public string[] GetVideoFiles(string path, bool allDirectories = true)
@ -65,7 +66,7 @@ namespace NzbDrone.Core.MediaFiles
var mediaFileList = filesOnDisk.Where(c => MediaFileExtensions.Extensions.Contains(Path.GetExtension(c).ToLower())).ToList();
_logger.Trace("{0} video files were found in {1}", mediaFileList.Count, path);
_logger.Debug("{0} video files were found in {1}", mediaFileList.Count, path);
return mediaFileList.ToArray();
}

@ -106,7 +106,7 @@ namespace NzbDrone.Core.Tv
}
else
{
var allSeries = _seriesService.GetAllSeries().OrderBy(c => c.LastInfoSync).ToList();
var allSeries = _seriesService.GetAllSeries().OrderBy(c => c.Title).ToList();
foreach (var series in allSeries)
{

Loading…
Cancel
Save