New: Backlog can now be controlled per series.

Applies to Backlog and RecentBacklog jobs. Editable in Series/MassEdit and Series Edit.
Added RecentBacklog button to Missing view, with mouse over description.
This commit is contained in:
Mark McDowall 2012-01-24 17:21:20 -08:00
parent 6772db7e69
commit 3a5d99921e
2 changed files with 8 additions and 1 deletions

View File

@ -34,6 +34,12 @@ namespace NzbDrone.Web.Controllers
return JsonNotificationResult.Info("Queued");
}
public JsonResult RecentBacklogSearch()
{
_jobProvider.QueueJob(typeof(RecentBacklogSearchJob));
return JsonNotificationResult.Info("Queued");
}
public JsonResult ScanDisk(int seriesId)
{
_jobProvider.QueueJob(typeof(DiskScanJob), seriesId);

View File

@ -9,7 +9,8 @@
@section ActionMenu{
<ul class="sub-menu">
<li>@Ajax.ActionLink("Start RSS Sync", "RssSync", "Command", null, null)</li>
<li>@Ajax.ActionLink("Start Backlog Search", "BacklogSearch", "Command", null, null)</li>
<li>@Ajax.ActionLink("Start Backlog Search", "BacklogSearch", "Command", null, null, new { title = "Backlog search for ALL missing episodes" })</li>
<li>@Ajax.ActionLink("Start Recent Backlog Search", "RecentBacklogSearch", "Command", null, null, new { title = "Backlog search for missing episodes that aired in the last 30 days only" })</li>
</ul>
}
@{Html.Telerik().Grid<MissingEpisodeModel>().Name("missing")