Diskscan/Info update job refactoring and test

This commit is contained in:
kay.one 2011-05-20 17:23:49 -07:00
commit e4ff0d6471
16 changed files with 400 additions and 114 deletions

View file

@ -16,6 +16,11 @@ namespace NzbDrone.Core.Providers.Jobs
_episodeProvider = episodeProvider;
}
public UpdateInfoJob()
{
}
public string Name
{
get { return "Update Info"; }
@ -26,7 +31,7 @@ namespace NzbDrone.Core.Providers.Jobs
get { return 1440; } //Daily
}
public void Start(ProgressNotification notification, int targetId)
public virtual void Start(ProgressNotification notification, int targetId)
{
IList<Series> seriesToUpdate;
if (targetId == 0)