Past Week Backlog Search job added

New: Manually search for all missing episodes form the last 7 days (from
Missing page)
This commit is contained in:
Mark McDowall
2012-07-07 16:33:37 -07:00
parent 92bd547315
commit 8a7d474b74
4 changed files with 66 additions and 0 deletions
@@ -52,6 +52,12 @@ namespace NzbDrone.Web.Controllers
return JsonNotificationResult.Queued("Recent backlog search");
}
public JsonResult PastWeekBacklogSearch()
{
_jobProvider.QueueJob(typeof(PastWeekBacklogSearchJob));
return JsonNotificationResult.Queued("Past Week backlog search");
}
public JsonResult ForceRefresh(int seriesId)
{
_jobProvider.QueueJob(typeof(UpdateInfoJob), seriesId);
+1
View File
@@ -9,6 +9,7 @@
<li>@Ajax.ActionLink("Start RSS Sync", "RssSync", "Command", null, null, new { Title = "Check for newly released downloads" })</li>
<li>@Ajax.ActionLink("Start Backlog Search", "BacklogSearch", "Command",null, null, new { title = "Search and download all missing episodes"})</li>
<li>@Ajax.ActionLink("Start Recent Backlog Search", "RecentBacklogSearch", "Command", null, null, new { title = "Search and download missing episodes that aired in the last 30 days" })</li>
<li>@Ajax.ActionLink("Force Past Week Backlog Search", "PastWeekBacklogSearch", "Command", null, null, new { title = "Search and download missing episodes that aired in the last 7 days (Ignores backlog search settings)" })</li>
</ul>
}