Force Refresh added to Series Editor

This commit is contained in:
Mark McDowall 2012-07-14 21:27:40 -07:00
parent 2982e79065
commit 9d5c942cbf
5 changed files with 136 additions and 21 deletions

View file

@ -62,6 +62,16 @@ namespace NzbDrone.Web.Controllers
{
_jobProvider.QueueJob(typeof(UpdateInfoJob), seriesId);
_jobProvider.QueueJob(typeof(DiskScanJob), seriesId);
_jobProvider.QueueJob(typeof(RefreshEpisodeMetadata), seriesId);
return JsonNotificationResult.Queued("Episode update/Disk scan");
}
public JsonResult ForceRefreshAll()
{
_jobProvider.QueueJob(typeof(UpdateInfoJob));
_jobProvider.QueueJob(typeof(DiskScanJob));
_jobProvider.QueueJob(typeof(RefreshEpisodeMetadata));
return JsonNotificationResult.Queued("Episode update/Disk scan");
}