mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
signalr cleanup
This commit is contained in:
parent
feda4a9b67
commit
25e2c98c45
219 changed files with 2035 additions and 1495 deletions
|
@ -4,9 +4,10 @@ using System.Linq;
|
|||
using NLog;
|
||||
using NzbDrone.Common;
|
||||
using NzbDrone.Common.Instrumentation;
|
||||
using NzbDrone.Common.Messaging;
|
||||
using NzbDrone.Core.Instrumentation;
|
||||
using NzbDrone.Core.MediaFiles.Commands;
|
||||
using NzbDrone.Core.MediaFiles.EpisodeImport;
|
||||
using NzbDrone.Core.Messaging;
|
||||
using NzbDrone.Core.Tv;
|
||||
using NzbDrone.Core.Tv.Events;
|
||||
|
||||
|
@ -53,7 +54,7 @@ namespace NzbDrone.Core.MediaFiles
|
|||
|
||||
private void Scan(Series series)
|
||||
{
|
||||
_logger.Progress("Starting disk scan for {0}", series.Title);
|
||||
_logger.ProgressInfo("Scanning disk for {0}", series.Title);
|
||||
_messageAggregator.PublishCommand(new CleanMediaFileDb(series.Id));
|
||||
|
||||
if (!_diskProvider.FolderExists(series.Path))
|
||||
|
@ -66,8 +67,6 @@ namespace NzbDrone.Core.MediaFiles
|
|||
|
||||
var decisions = _importDecisionMaker.GetImportDecisions(mediaFileList, series, false);
|
||||
_importApprovedEpisodes.Import(decisions);
|
||||
|
||||
_logger.Complete("Completed disk scan for {0}", series.Title);
|
||||
}
|
||||
|
||||
public string[] GetVideoFiles(string path, bool allDirectories = true)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue