mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-04 10:02:40 +01:00
Fix: Go to Settings -> Misc to set your preference for automatically ignoring deleted episodes (false by default).
This commit is contained in:
parent
1f24e87421
commit
6574a2b065
@ -232,6 +232,7 @@ public ActionResult Misc()
|
||||
{
|
||||
var model = new MiscSettingsModel();
|
||||
model.EnableBacklogSearching = _configProvider.EnableBacklogSearching;
|
||||
model.AutoIgnorePreviouslyDownloadedEpisodes = _configProvider.AutoIgnorePreviouslyDownloadedEpisodes;
|
||||
|
||||
return View(model);
|
||||
}
|
||||
@ -591,6 +592,7 @@ public JsonResult SaveMisc(MiscSettingsModel data)
|
||||
if (ModelState.IsValid)
|
||||
{
|
||||
_configProvider.EnableBacklogSearching = data.EnableBacklogSearching;
|
||||
_configProvider.AutoIgnorePreviouslyDownloadedEpisodes = data.AutoIgnorePreviouslyDownloadedEpisodes;
|
||||
|
||||
return GetSuccessResult();
|
||||
}
|
||||
|
@ -11,5 +11,9 @@ public class MiscSettingsModel
|
||||
[DisplayName("Enable Backlog Searching")]
|
||||
[Description("Should NzbDrone try to download missing episodes automatically?")]
|
||||
public bool EnableBacklogSearching { get; set; }
|
||||
|
||||
[DisplayName("Automatically Ignore Deleted Episodes")]
|
||||
[Description("Should NzbDrone automatically ignore episodes that were deleted from disk?")]
|
||||
public bool AutoIgnorePreviouslyDownloadedEpisodes { get; set; }
|
||||
}
|
||||
}
|
@ -9,6 +9,11 @@
|
||||
</label>
|
||||
@Html.CheckBoxFor(m => m.EnableBacklogSearching, new { @class = "inputClass checkClass" })
|
||||
|
||||
<label class="labelClass">@Html.LabelFor(m => m.AutoIgnorePreviouslyDownloadedEpisodes)
|
||||
<span class="small">@Html.DescriptionFor(m => m.AutoIgnorePreviouslyDownloadedEpisodes)</span>
|
||||
</label>
|
||||
@Html.CheckBoxFor(m => m.AutoIgnorePreviouslyDownloadedEpisodes, new { @class = "inputClass checkClass" })
|
||||
|
||||
<div style="overflow: hidden; height: 50px;">
|
||||
</div>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user