mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-14 11:23:42 +02: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();
|
var model = new MiscSettingsModel();
|
||||||
model.EnableBacklogSearching = _configProvider.EnableBacklogSearching;
|
model.EnableBacklogSearching = _configProvider.EnableBacklogSearching;
|
||||||
|
model.AutoIgnorePreviouslyDownloadedEpisodes = _configProvider.AutoIgnorePreviouslyDownloadedEpisodes;
|
||||||
|
|
||||||
return View(model);
|
return View(model);
|
||||||
}
|
}
|
||||||
@ -591,6 +592,7 @@ public JsonResult SaveMisc(MiscSettingsModel data)
|
|||||||
if (ModelState.IsValid)
|
if (ModelState.IsValid)
|
||||||
{
|
{
|
||||||
_configProvider.EnableBacklogSearching = data.EnableBacklogSearching;
|
_configProvider.EnableBacklogSearching = data.EnableBacklogSearching;
|
||||||
|
_configProvider.AutoIgnorePreviouslyDownloadedEpisodes = data.AutoIgnorePreviouslyDownloadedEpisodes;
|
||||||
|
|
||||||
return GetSuccessResult();
|
return GetSuccessResult();
|
||||||
}
|
}
|
||||||
|
@ -11,5 +11,9 @@ public class MiscSettingsModel
|
|||||||
[DisplayName("Enable Backlog Searching")]
|
[DisplayName("Enable Backlog Searching")]
|
||||||
[Description("Should NzbDrone try to download missing episodes automatically?")]
|
[Description("Should NzbDrone try to download missing episodes automatically?")]
|
||||||
public bool EnableBacklogSearching { get; set; }
|
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>
|
</label>
|
||||||
@Html.CheckBoxFor(m => m.EnableBacklogSearching, new { @class = "inputClass checkClass" })
|
@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 style="overflow: hidden; height: 50px;">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user