mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-30 23:45:46 +02:00
Diskscan/Info update job refactoring and test
This commit is contained in:
@@ -36,7 +36,7 @@ namespace NzbDrone.Web.Controllers
|
||||
[HttpPost]
|
||||
public JsonResult ScanNewSeries()
|
||||
{
|
||||
_jobProvider.QueueJob(typeof(NewSeriesUpdate));
|
||||
_jobProvider.QueueJob(typeof(ImportNewSeriesJob));
|
||||
return new JsonResult();
|
||||
}
|
||||
|
||||
|
@@ -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 });
|
||||
}
|
||||
|
Reference in New Issue
Block a user