Diskscan/Info update job refactoring and test

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

View file

@ -265,7 +265,7 @@ namespace NzbDrone.Web.Controllers
public ActionResult SyncEpisodesOnDisk(int seriesId)
{
//Syncs the episodes on disk for the specified series
_jobProvider.QueueJob(typeof(MediaFileScanJob), seriesId);
_jobProvider.QueueJob(typeof(DiskScanJob), seriesId);
return RedirectToAction("Details", new { seriesId });
}