Fixed notification issues

Added basic support for file scan
Major redactor of ReportTitle/File parsing
Updated Ninject/Ninject.MVC
Removed dependency from Microsoft.Web.Administration
reactored Episode repository structure
This commit is contained in:
Keivan
2010-10-20 18:49:23 -07:00
parent 41d9b0364f
commit c8a8fb4d62
57 changed files with 5569 additions and 320 deletions

View File

@@ -6,7 +6,7 @@ using System.Linq;
using System.Text;
using System.Threading;
using NLog;
using NzbDrone.Core.Entities.Notification;
using NzbDrone.Core.Model.Notification;
namespace NzbDrone.Core.Providers
{
@@ -58,7 +58,6 @@ namespace NzbDrone.Core.Providers
{
_notificationProvider.Register(_seriesSyncNotification);
_seriesSyncNotification.CurrentStatus = "Analysing Folder";
Thread.Sleep(20000);
var unmappedFolders = _seriesProvider.GetUnmappedFolders();
_seriesSyncNotification.ProgressMax = unmappedFolders.Count;
@@ -100,7 +99,7 @@ namespace NzbDrone.Core.Providers
_seriesSyncNotification.CurrentStatus = "Series Scan Completed";
Logger.Info("Series folders scan has successfully completed.");
Thread.Sleep(3000);
_seriesSyncNotification.Status = NotificationStatus.Completed;
_seriesSyncNotification.Status = ProgressNotificationStatus.Completed;
}
}
catch (Exception e)